Module Name: src Committed By: riastradh Date: Wed Jan 13 23:54:21 UTC 2021
Modified Files:
src/sys/dev: random.c
Log Message:
/dev/random: Fix nonblocking read.
The flag passed to cdev_read is IO_NDELAY, not FNONBLOCK/O_NONBLOCK,
and although the latter two coincide, IO_NDELAY has a different
value.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/random.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
