summaryrefslogtreecommitdiff
path: root/ubi-utils/src/libubi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/libubi.c')
-rw-r--r--ubi-utils/src/libubi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/src/libubi.c b/ubi-utils/src/libubi.c
index 979f157..7cb74bf 100644
--- a/ubi-utils/src/libubi.c
+++ b/ubi-utils/src/libubi.c
@@ -698,8 +698,8 @@ ubi_vol_update(int vol_fd, unsigned long long bytes)
err = ioctl(vol_fd, UBI_IOCVOLUP, &bytes);
if (err) {
ubi_err("%s failure calling update ioctl\n"
- " IOCTL(%08x) err=%d errno=%d\n",
- __func__, UBI_IOCVOLUP, err, errno);
+ " IOCTL(%08lx) err=%d errno=%d\n",
+ __func__, (long unsigned int)UBI_IOCVOLUP, err, errno);
}
return err;
}