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
This commit is contained in:
Poul-Henning Kamp 1998-04-15 19:55:14 +00:00
parent 1d37f051c1
commit 416aa49b70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35216

View File

@ -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++;