diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-12 15:47:00 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-12-12 15:47:00 -0800 |
| commit | 9ffda4f955283c50e559c23541567cca5fbf1607 (patch) | |
| tree | 12a9a5ac38eaaa2a676c1e6f3d3fbc6495ec4f0f /node | |
| parent | 239c9e46ea7e0279f95197cc2dc62bb1dd69aa8f (diff) | |
| download | infinitytier-9ffda4f955283c50e559c23541567cca5fbf1607.tar.gz infinitytier-9ffda4f955283c50e559c23541567cca5fbf1607.zip | |
Update Qt build to enable building against local static libraries, rename Network to NetworkWidget to avoid filesystem or object naming collision with Network.o in node/.
Diffstat (limited to 'node')
| -rw-r--r-- | node/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Utils.cpp b/node/Utils.cpp index c0886859..45d1aee8 100644 --- a/node/Utils.cpp +++ b/node/Utils.cpp @@ -207,11 +207,11 @@ void Utils::getSecureRandom(void *buf,unsigned int bytes) { int fd = ::open("/dev/urandom",O_RDONLY); if (fd < 0) { - fprintf(stderr,"FATAL ERROR: unable to open /dev/urandom"ZT_EOL_S); + fprintf(stderr,"FATAL ERROR: unable to open /dev/urandom%s",ZT_EOL_S); exit(-1); } if ((int)::read(fd,randbuf,sizeof(randbuf)) != (int)sizeof(randbuf)) { - fprintf(stderr,"FATAL ERROR: unable to read from /dev/urandom"ZT_EOL_S); + fprintf(stderr,"FATAL ERROR: unable to read from /dev/urandom%s",ZT_EOL_S); exit(-1); } ::close(fd); |
