Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Fix a printf format/argument cast.
details: https://anonhg.NetBSD.org/src/rev/bb77ea95bb61
branches: trunk
changeset: 514996:bb77ea95bb61
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Sep 15 16:28:15 2001 +0000
description:
Fix a printf format/argument cast.
diffstat:
usr.bin/netstat/inet.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7373c6d8982b -r bb77ea95bb61 usr.bin/netstat/inet.c
--- a/usr.bin/netstat/inet.c Sat Sep 15 16:16:27 2001 +0000
+++ b/usr.bin/netstat/inet.c Sat Sep 15 16:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet.c,v 1.49 2001/09/10 22:19:03 thorpej Exp $ */
+/* $NetBSD: inet.c,v 1.50 2001/09/15 16:28:15 thorpej Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet.c,v 1.49 2001/09/10 22:19:03 thorpej Exp $");
+__RCSID("$NetBSD: inet.c,v 1.50 2001/09/15 16:28:15 thorpej Exp $");
#endif
#endif /* not lint */
@@ -670,7 +670,7 @@
for (i = 0; i < TCPT_NTIMERS; i++) {
printf("\t%s: %llu", tcptimers[i],
(tcpcb.t_timer[i].c_flags & CALLOUT_ACTIVE) ?
- tcpcb.t_timer[i].c_time : 0);
+ (unsigned long long) tcpcb.t_timer[i].c_time : 0);
}
printf("\n\n");
Home |
Main Index |
Thread Index |
Old Index