Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/netstat netstat/if.c: Fix error message with "-w" op...



details:   https://anonhg.NetBSD.org/src/rev/1e80b9e5d576
branches:  trunk
changeset: 372382:1e80b9e5d576
user:      taca <taca%NetBSD.org@localhost>
date:      Sat Nov 19 14:42:35 2022 +0000

description:
netstat/if.c: Fix error message with "-w" option.

Now ifq_drops is 64bit unsigned integer.

No description in src/doc/CHANGES?

diffstat:

 usr.bin/netstat/if.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 43c2e620098e -r 1e80b9e5d576 usr.bin/netstat/if.c
--- a/usr.bin/netstat/if.c      Sat Nov 19 12:16:03 2022 +0000
+++ b/usr.bin/netstat/if.c      Sat Nov 19 14:42:35 2022 +0000
@@ -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 @@
 {
        char namebuf[1024];
        size_t len;
-       int drops;
+       uint64_t drops;
 
        /* For sysctl */
        snprintf(namebuf, sizeof(namebuf),



Home | Main Index | Thread Index | Old Index