diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-10 10:58:41 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-10 10:58:41 +0000 |
| commit | fa859d80d528cbe5ee6d3825e85fa4e5aec337b0 (patch) | |
| tree | 112af8b9cc438456db33efb2f56a57396912a82b | |
| parent | 6778a4ed9875762cdfb5003e7732352e071e363a (diff) | |
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 <leah@libreboot.org>
| -rw-r--r-- | util/nvmutil/nvmutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
