From 416aa49b7073513c32574cb9fd305faf22e06704 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Wed, 15 Apr 1998 19:55:14 +0000 Subject: [PATCH] If ping write fails with short packet count, the error message prints the two numbers backwards. PR: 6313 Reviewed by: phk Submitted by: Archie Cobbs --- sbin/ping/ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 3de67aedf887..963e378a072d 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.31 1998/04/02 01:12:55 eivind Exp $"; + "$Id: ping.c,v 1.32 1998/04/02 04:33:18 imp Exp $"; #endif /* not lint */ /* @@ -592,7 +592,7 @@ pinger(void) warn("sendto"); } else { warn("%s: partial write: %d of %d bytes", - hostname, cc, i); + hostname, i, cc); } } ntransmitted++;