Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Use %zx for _both_ size_t formats!
details: https://anonhg.NetBSD.org/src/rev/0646e196d934
branches: trunk
changeset: 764786:0646e196d934
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Wed May 04 03:43:30 2011 +0000
description:
Use %zx for _both_ size_t formats!
diffstat:
usr.bin/netstat/vtw.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c0b846229199 -r 0646e196d934 usr.bin/netstat/vtw.c
--- a/usr.bin/netstat/vtw.c Wed May 04 01:45:48 2011 +0000
+++ b/usr.bin/netstat/vtw.c Wed May 04 03:43:30 2011 +0000
@@ -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);
}
}
Home |
Main Index |
Thread Index |
Old Index