mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-21 10:12:04 +02:00
util/nvmutil: Shorten a comment
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-10
@@ -326,17 +326,9 @@ open_dev_urandom(void)
|
|||||||
* Fall back to /dev/random on old platforms
|
* Fall back to /dev/random on old platforms
|
||||||
* where /dev/urandom does not exist.
|
* where /dev/urandom does not exist.
|
||||||
*
|
*
|
||||||
* In general, we can assume that any system
|
* We must reset the error condition first,
|
||||||
* that would have urandom, probably has the
|
* to prevent stale error status later.
|
||||||
* other device (/dev/urandom).
|
|
||||||
*
|
|
||||||
* Given that on many modern systems, urandom
|
|
||||||
* and random are essentially the same, this
|
|
||||||
* also provides some fault-tolerance there,
|
|
||||||
* while still ultimately being strict under
|
|
||||||
* fallback conditions, thus:
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
|
||||||
rname = oldrandom;
|
rname = oldrandom;
|
||||||
|
|||||||
Reference in New Issue
Block a user