diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-03 22:51:50 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-03 22:51:50 +0000 |
| commit | 3077f51c67fcafb749a199807568c62561a0ab39 (patch) | |
| tree | 549907904f8d08072ab0818598814c63b8c019df /util/nvmutil/nvmutil.c | |
| parent | cc51ac32d0213b476496e24a4cea63f47adf1d48 (diff) | |
util/nvmutil: use zd for printf in valid_read
more portable
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
| -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 9180e57e..cfd03e7b 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -385,7 +385,7 @@ valid_read(const char *rpath, ssize_t rval, ssize_t rsize, int retry) if (rval == (ssize_t) rsize) return 1; if (rval != -1) - err(ECANCELED, "Short read, %lld: %s", rval, rpath); + err(ECANCELED, "Short read, %zd: %s", rval, rpath); if (errno != EINTR) err(ECANCELED, "read '%s'", rpath); if (retry == MAX_RETRY_READ - 1) |
