summaryrefslogtreecommitdiff
path: root/util/nvmutil
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-19 19:16:32 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-19 19:16:32 +0000
commit2c211d385eb3efdd184895cefb4e242593f8107e (patch)
tree97dbbb445a2e42efb98661d1154babe66bd9f54c /util/nvmutil
parente55f7ea08157b24969ae31cde21c62264459eff0 (diff)
fix variable name
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
-rw-r--r--util/nvmutil/lib/num.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvmutil/lib/num.c b/util/nvmutil/lib/num.c
index 0f795107..99503e8c 100644
--- a/util/nvmutil/lib/num.c
+++ b/util/nvmutil/lib/num.c
@@ -246,7 +246,7 @@ fallback_rand_getrandom(void *buf, size_t len)
#elif defined(HAVE_GETRANDOM_SYSCALL)
do {
rval = syscall(SYS_getrandom, buf, len, 0);
- } while (ret < 0 && errno == EINTR);
+ } while (rval < 0 && errno == EINTR);
#else
return -1;