diff options
author | asmodai <asmodai@FreeBSD.org> | 2001-08-23 21:46:59 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2001-08-23 21:46:59 +0000 |
commit | 1385a0dca8f9199ece158336f4c6a9f1e2e03c3e (patch) | |
tree | 9eaf7ab1d76f8fcbd7e07c789801580fabad62c2 /contrib/bind/bin/host/host.c | |
parent | b252fb87889ab3c43dd81af8dd28ab77c6f4a628 (diff) | |
download | FreeBSD-src-1385a0dca8f9199ece158336f4c6a9f1e2e03c3e.zip FreeBSD-src-1385a0dca8f9199ece158336f4c6a9f1e2e03c3e.tar.gz |
String format patch
Diffstat (limited to 'contrib/bind/bin/host/host.c')
-rw-r--r-- | contrib/bind/bin/host/host.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bind/bin/host/host.c b/contrib/bind/bin/host/host.c index 9303ab1..6ec63df 100644 --- a/contrib/bind/bin/host/host.c +++ b/contrib/bind/bin/host/host.c @@ -1,5 +1,5 @@ #ifndef lint -static const char rcsid[] = "$Id: host.c,v 8.43.2.1 2001/04/26 02:56:07 marka Exp $"; +static const char rcsid[] = "$Id: host.c,v 8.43.2.2 2001/08/09 14:04:45 marka Exp $"; #endif /* not lint */ /* @@ -755,12 +755,12 @@ void print_hex_field (u_int8_t field[], int length, int width, char *pref) do { stop=(start+width)<length?(start+width):length; - printf (pref); + printf ("%s", pref); for (i = start; i < stop; i++) printf ("%02x ", (u_char) field[i]); printf ("\n"); - printf (pref); + printf ("%s", pref); for (i = start; i < stop; i++) if (isprint(field[i])) printf (" %c ", (u_char) field[i]); |