summaryrefslogtreecommitdiff
path: root/sys/netnatm
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2012-03-21 12:36:50 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2012-03-21 12:36:50 +0000
commit66b3f8db630a38fd7fbd0bad090499ba0a25a2de (patch)
tree0b5b6cb0321ba9f3e9d37e15b14ace90975eaccf /sys/netnatm
parentfb44f6e2a6eef242e86c5b9ef8587ebbf7bcd71c (diff)
Fix a bug where random() always returns 0 when srandom() is seeded
with 0. Use 1 and not 0 as the first element of the state array, similar to what glibc does. OK nicm@
Diffstat (limited to 'sys/netnatm')
0 files changed, 0 insertions, 0 deletions