summaryrefslogtreecommitdiffstats
path: root/bin/dd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c
index 9d2aa6a..7e66b7f 100644
--- a/bin/dd/args.c
+++ b/bin/dd/args.c
@@ -189,7 +189,7 @@ f_bs(char *arg)
res = get_num(arg);
if (res < 1 || res > SSIZE_MAX)
- errx(1, "bs must be between 1 and %d", SSIZE_MAX);
+ errx(1, "bs must be between 1 and %zd", SSIZE_MAX);
in.dbsz = out.dbsz = (size_t)res;
}
@@ -200,7 +200,7 @@ f_cbs(char *arg)
res = get_num(arg);
if (res < 1 || res > SSIZE_MAX)
- errx(1, "cbs must be between 1 and %d", SSIZE_MAX);
+ errx(1, "cbs must be between 1 and %zd", SSIZE_MAX);
cbsz = (size_t)res;
}
OpenPOWER on IntegriCloud