From fa859d80d528cbe5ee6d3825e85fa4e5aec337b0 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 10 Mar 2026 10:58:41 +0000 Subject: util/nvmutil: fix bad print specifier (c90) size_t may be unsigned long long, but lu is for unsigned long. the integer is small enough that we don't need to worry, so let's just cast it accordingly (inside err) Signed-off-by: Leah Rowe --- util/nvmutil/nvmutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/nvmutil/nvmutil.c') diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index f8e56135..a770467c 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -534,7 +534,7 @@ sanitize_command_index(size_t c) if (command[c].argc < 3) err(ECANCELED, "cmd index %lu: argc below 3, %d", - c, command[c].argc); + (unsigned long)c, command[c].argc); if (command[c].str == NULL) err(ECANCELED, "cmd index %lu: NULL str", c); -- cgit v1.2.1