From owner-freebsd-bugs Wed Apr 15 12:30:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18022 for freebsd-bugs-outgoing; Wed, 15 Apr 1998 12:30:33 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA17929; Wed, 15 Apr 1998 12:30:12 -0700 (PDT) (envelope-from gnats) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA15793 for ; Wed, 15 Apr 1998 19:22:23 GMT (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA28909 for ; Wed, 15 Apr 1998 12:21:52 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma028899; Wed Apr 15 12:21:46 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA17759; Wed, 15 Apr 1998 12:21:45 -0700 (PDT) Message-Id: <199804151921.MAA17759@bubba.whistle.com> Date: Wed, 15 Apr 1998 12:21:45 -0700 (PDT) From: Archie Cobbs Reply-To: archie@whistle.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/6313: backwards ping error report Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6313 >Category: bin >Synopsis: backwards ping error report >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 15 12:30:03 PDT 1998 >Last-Modified: >Originator: Archie Cobbs >Organization: Whistle Communications, Inc. >Release: FreeBSD 2.2.6-RELEASE i386 >Environment: FreeBSD 2.2.6 >Description: If ping write fails with short packet count, the error message prints the two numbers backwards. >How-To-Repeat: >Fix: Index: ping.c =================================================================== RCS file: /cvs/freebsd/src/sbin/ping/ping.c,v retrieving revision 1.8.2.15 diff -c -r1.8.2.15 ping.c *** ping.c 1998/03/06 13:07:12 1.8.2.15 --- ping.c 1998/04/15 19:21:34 *************** *** 592,598 **** warn("sendto"); } else { warn("%s: partial write: %d of %d bytes", ! hostname, cc, i); } } ntransmitted++; --- 592,598 ---- warn("sendto"); } else { warn("%s: partial write: %d of %d bytes", ! hostname, i, cc); } } ntransmitted++; >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message