util/nvmutil: Shorten a comment

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-07 00:04:05 +00:00
parent 58182b48c3
commit 330b2da20c
+2 -10
View File
@@ -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;