Module Name: src
Committed By: taca
Date: Sat Nov 19 14:42:36 UTC 2022
Modified Files:
src/usr.bin/netstat: if.c
Log Message:
netstat/if.c: Fix error message with "-w" option.
Now ifq_drops is 64bit unsigned integer.
No description in src/doc/CHANGES?
To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/usr.bin/netstat/if.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/if.c
diff -u src/usr.bin/netstat/if.c:1.106 src/usr.bin/netstat/if.c:1.107
--- src/usr.bin/netstat/if.c:1.106 Mon Oct 24 08:11:25 2022
+++ src/usr.bin/netstat/if.c Sat Nov 19 14:42:35 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: if.c,v 1.106 2022/10/24 08:11:25 msaitoh Exp $ */
+/* $NetBSD: if.c,v 1.107 2022/11/19 14:42:35 taca Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-__RCSID("$NetBSD: if.c,v 1.106 2022/10/24 08:11:25 msaitoh Exp $");
+__RCSID("$NetBSD: if.c,v 1.107 2022/11/19 14:42:35 taca Exp $");
#endif
#endif /* not lint */
@@ -176,7 +176,7 @@ if_data_ext_get(const char *ifname, stru
{
char namebuf[1024];
size_t len;
- int drops;
+ uint64_t drops;
/* For sysctl */
snprintf(namebuf, sizeof(namebuf),