projects
/
physik
/
morpheus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added c0 in usage()
[physik/morpheus.git]
/
random.c
diff --git
a/random.c
b/random.c
index
f9a88f5
..
81a0667
100644
(file)
--- a/
random.c
+++ b/
random.c
@@
-26,7
+26,7
@@
u32 rand_get(u32 max)
printfd("debug: reading new random bytes\n");
if(read(random_fd,rand_buf,RAND_BUF_SIZE)!=RAND_BUF_SIZE)
{
printfd("debug: reading new random bytes\n");
if(read(random_fd,rand_buf,RAND_BUF_SIZE)!=RAND_BUF_SIZE)
{
- if(
!
strcmp(random_file,""))
+ if(strcmp(random_file,""))
{
puts("random file end, starting over ...");
lseek(random_fd,0,SEEK_SET);
{
puts("random file end, starting over ...");
lseek(random_fd,0,SEEK_SET);