From 6999b653407d94906ec2d9b0e12f6fbdda2161a8 Mon Sep 17 00:00:00 2001 From: ru Date: Sat, 15 Mar 2003 07:56:59 +0000 Subject: Fixed (soon might be fatal) -Wformat warnings. --- bin/dd/args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/dd') 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; } -- cgit v1.1