diff options
author | David Hill <dhill@cvs.openbsd.org> | 2006-03-22 18:08:05 +0000 |
---|---|---|
committer | David Hill <dhill@cvs.openbsd.org> | 2006-03-22 18:08:05 +0000 |
commit | afb79f93e400b36d35786c8fb51ca0da349a9ee8 (patch) | |
tree | 9728f3381d56724828b68357e50e6aa3643c60ee /bin/dd/args.c | |
parent | d28935ed294cb86af04a99e2293beee8c581aeeb (diff) |
change %u to %zu to correctly print size_t
ok ray@ jaredy@ moritz@
Diffstat (limited to 'bin/dd/args.c')
-rw-r--r-- | bin/dd/args.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c index b7dd697a298..e12ef7efddd 100644 --- a/bin/dd/args.c +++ b/bin/dd/args.c @@ -1,4 +1,4 @@ -/* $OpenBSD: args.c,v 1.15 2005/04/08 01:46:45 jsg Exp $ */ +/* $OpenBSD: args.c,v 1.16 2006/03/22 18:08:04 dhill Exp $ */ /* $NetBSD: args.c,v 1.7 1996/03/01 01:18:58 jtc Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: args.c,v 1.15 2005/04/08 01:46:45 jsg Exp $"; +static char rcsid[] = "$OpenBSD: args.c,v 1.16 2006/03/22 18:08:04 dhill Exp $"; #endif #endif /* not lint */ @@ -72,7 +72,7 @@ static size_t get_bsz(char *); static off_t get_off(char *); static const struct arg { - char *name; + const char *name; void (*f)(char *); u_int set, noset; } args[] = { @@ -267,7 +267,7 @@ f_conv(char *arg) #else /* NO_CONV */ static const struct conv { - char *name; + const char *name; u_int set, noset; const u_char *ctab; } clist[] = { |