diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1997-08-07 02:41:15 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1997-08-07 02:41:15 +0000 |
| commit | 363d7bbe500f043971d7bbfcba4e8e79272cc9da (patch) | |
| tree | 721d4177f4b44efb8f4a564e61106f4587b99cf1 /sbin | |
| parent | 6d529e4303bc6bf26fd80937b22b45e8f7434bfe (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/ping/ping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 2e615aebedc5..ffab8251e5da 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -45,7 +45,7 @@ static const char copyright[] = static char sccsid[] = "@(#)ping.c 8.1 (Berkeley) 6/5/93"; */ static const char rcsid[] = - "$Id: ping.c,v 1.25 1997/07/18 17:52:05 wollman Exp $"; + "$Id: ping.c,v 1.26 1997/07/20 06:09:55 bde Exp $"; #endif /* not lint */ /* @@ -594,8 +594,8 @@ pinger(void) warn("%s: partial write: %d of %d bytes", hostname, cc, i); } - } else - ntransmitted++; /* only count those that made it out */ + } + ntransmitted++; if (!(options & F_QUIET) && options & F_FLOOD) (void)write(STDOUT_FILENO, &DOT, 1); } |
