Module Name: src
Committed By: pgoyette
Date: Wed May 4 03:43:30 UTC 2011
Modified Files:
src/usr.bin/netstat: vtw.c
Log Message:
Use %zx for _both_ size_t formats!
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/netstat/vtw.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/netstat/vtw.c
diff -u src/usr.bin/netstat/vtw.c:1.3 src/usr.bin/netstat/vtw.c:1.4
--- src/usr.bin/netstat/vtw.c:1.3 Wed May 4 01:31:40 2011
+++ src/usr.bin/netstat/vtw.c Wed May 4 03:43:30 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vtw.c,v 1.3 2011/05/04 01:31:40 dyoung Exp $ */
+/* $NetBSD: vtw.c,v 1.4 2011/05/04 03:43:30 pgoyette Exp $ */
/*
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: vtw.c,v 1.3 2011/05/04 01:31:40 dyoung Exp $");
+__RCSID("$NetBSD: vtw.c,v 1.4 2011/05/04 03:43:30 pgoyette Exp $");
#endif
#endif /* not lint */
@@ -130,7 +130,7 @@
cc = kvm_read(get_kvmd(), (unsigned long) addr, buf, len);
if (cc != len) {
- warnx("%s: short read at %p, len %x cc %zx\n", __func__, addr,
+ warnx("%s: short read at %p, len %zx cc %zx\n", __func__, addr,
len, cc);
}
}