From 2c211d385eb3efdd184895cefb4e242593f8107e Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 19 Mar 2026 19:16:32 +0000 Subject: fix variable name Signed-off-by: Leah Rowe --- util/nvmutil/lib/num.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/nvmutil') 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; -- cgit v1.2.1