Add semicolon to fix a compile error in librb/src/arc4random.c
This commit is contained in:
parent
00ba30c175
commit
5206a066f2
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ arc4_stir(struct arc4_stream *as)
|
||||||
struct rusage buf;
|
struct rusage buf;
|
||||||
getrusage(RUSAGE_SELF, &buf);
|
getrusage(RUSAGE_SELF, &buf);
|
||||||
arc4_addrandom(as, (void *)&buf, sizeof(buf));
|
arc4_addrandom(as, (void *)&buf, sizeof(buf));
|
||||||
memset(&buf, 0, sizeof(buf))}
|
memset(&buf, 0, sizeof(buf));}
|
||||||
|
|
||||||
fd = open("/dev/urandom", O_RDONLY);
|
fd = open("/dev/urandom", O_RDONLY);
|
||||||
if(fd != -1)
|
if(fd != -1)
|
||||||
|
|
Loading…
Reference in a new issue