diff options
Diffstat (limited to 'src/sysdeps/trydevurandom.c')
-rw-r--r-- | src/sysdeps/trydevurandom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysdeps/trydevurandom.c b/src/sysdeps/trydevurandom.c index 9c56e94..8504f6e 100644 --- a/src/sysdeps/trydevurandom.c +++ b/src/sysdeps/trydevurandom.c @@ -16,5 +16,5 @@ int main (void) fd = open("/dev/urandom", O_RDONLY) ; if ((fd == -1) || (read(fd, b, 64) < 64) ) return 111 ; close(fd) ; - return (!memcmp(a, 64, b)) ; + return (!memcmp(a, b, 64)) ; } |