Source-Changes-HG archive

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

[src/trunk]: src/sbin clarify comment when nreceived > ntransmitted. from de...



details:   https://anonhg.NetBSD.org/src/rev/e16f77ac2a81
branches:  trunk
changeset: 532065:e16f77ac2a81
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri May 31 01:10:53 2002 +0000

description:
clarify comment when nreceived > ntransmitted.  from deraadt

diffstat:

 sbin/ping/ping.c   |  6 +++---
 sbin/ping6/ping6.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 83e0ee28e99d -r e16f77ac2a81 sbin/ping/ping.c
--- a/sbin/ping/ping.c  Fri May 31 01:10:35 2002 +0000
+++ b/sbin/ping/ping.c  Fri May 31 01:10:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ping.c,v 1.63 2001/12/20 20:10:38 soren Exp $  */
+/*     $NetBSD: ping.c,v 1.64 2002/05/31 01:10:53 itojun Exp $ */
 
 /*
  * Copyright (c) 1989, 1993
@@ -62,7 +62,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ping.c,v 1.63 2001/12/20 20:10:38 soren Exp $");
+__RCSID("$NetBSD: ping.c,v 1.64 2002/05/31 01:10:53 itojun Exp $");
 #endif
 
 #include <stdio.h>
@@ -1252,7 +1252,7 @@
                (void)printf("+%d duplicates, ", nrepeats);
        if (ntransmitted) {
                if (nreceived > ntransmitted)
-                       (void)printf("-- somebody's printing up packets!");
+                       (void)printf("-- somebody's duplicating packets!");
                else
                        (void)printf("%.1f%% packet loss",
                                     (((ntransmitted-nreceived)*100.0) /
diff -r 83e0ee28e99d -r e16f77ac2a81 sbin/ping6/ping6.c
--- a/sbin/ping6/ping6.c        Fri May 31 01:10:35 2002 +0000
+++ b/sbin/ping6/ping6.c        Fri May 31 01:10:53 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ping6.c,v 1.45 2002/05/30 21:32:18 itojun Exp $        */
+/*     $NetBSD: ping6.c,v 1.46 2002/05/31 01:10:54 itojun Exp $        */
 /*     $KAME: ping6.c,v 1.155 2002/05/26 13:18:25 itojun Exp $ */
 
 /*
@@ -81,7 +81,7 @@
 #else
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ping6.c,v 1.45 2002/05/30 21:32:18 itojun Exp $");
+__RCSID("$NetBSD: ping6.c,v 1.46 2002/05/31 01:10:54 itojun Exp $");
 #endif
 #endif
 
@@ -2172,7 +2172,7 @@
                (void)printf("+%ld duplicates, ", nrepeats);
        if (ntransmitted) {
                if (nreceived > ntransmitted)
-                       (void)printf("-- somebody's printing up packets!");
+                       (void)printf("-- somebody's duplicating packets!");
                else
                        (void)printf("%d%% packet loss",
                            (int) (((ntransmitted - nreceived) * 100) /



Home | Main Index | Thread Index | Old Index