summaryrefslogtreecommitdiffstats
path: root/bin/dd
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-03-15 07:56:59 +0000
committerru <ru@FreeBSD.org>2003-03-15 07:56:59 +0000
commit6999b653407d94906ec2d9b0e12f6fbdda2161a8 (patch)
tree52ec3e7bc937c469ca3f397191ca6c2929cd0b4f /bin/dd
parent71e2d62a49b558881aa09378c949a5848c20448e (diff)
downloadFreeBSD-src-6999b653407d94906ec2d9b0e12f6fbdda2161a8.zip
FreeBSD-src-6999b653407d94906ec2d9b0e12f6fbdda2161a8.tar.gz
Fixed (soon might be fatal) -Wformat warnings.
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