projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bell 32V development
[unix-history]
/
usr
/
src
/
games
/
fortune.c
diff --git
a/usr/src/games/fortune.c
b/usr/src/games/fortune.c
index
0e1669e
..
cdd3d48
100644
(file)
--- a/
usr/src/games/fortune.c
+++ b/
usr/src/games/fortune.c
@@
-22,7
+22,7
@@
main()
l = fgets(line, 500, f);
if(l == NULL)
break;
l = fgets(line, 500, f);
if(l == NULL)
break;
- if(rand() <
3276
8./p)
+ if(rand() <
214748364
8./p)
strcpy(bline, line);
p += 1.;
}
strcpy(bline, line);
p += 1.;
}