Re: typo /cvs/src/sbin/ping/ping.c

2009-12-23 Thread Han Boetes
Good finds. To make them even better make sure your mta doesn't
wrap the lines. ;-)

Brad Tilley wrote:
 # cvs diff -Nup ping.c
 Index: ping.c
 ===
 RCS file: /cvs/src/sbin/ping/ping.c,v
 retrieving revision 1.85
 diff -N -u -p ping.c
 --- ping.c  15 Dec 2009 21:09:43 -  1.85
 +++ ping.c  23 Dec 2009 01:16:59 -
 @@ -1085,7 +1085,7 @@ pr_icmph(struct icmp *icp)
 (void)printf(Destination Net Unreachable for
 TOS\n);
 break;
 case ICMP_UNREACH_TOSHOST:
 -   (void)printf(Desination Host Unreachable for
 TOS\n);
 +   (void)printf(Destination Host Unreachable for
 TOS\n);
 break;
 case ICMP_UNREACH_FILTER_PROHIB:
 (void)printf(Route administratively
 prohibited\n);




# Han



typo /cvs/src/sbin/ping/ping.c

2009-12-22 Thread Brad Tilley
# cvs diff -Nup ping.c
Index: ping.c
===
RCS file: /cvs/src/sbin/ping/ping.c,v
retrieving revision 1.85
diff -N -u -p ping.c
--- ping.c  15 Dec 2009 21:09:43 -  1.85
+++ ping.c  23 Dec 2009 01:16:59 -
@@ -1085,7 +1085,7 @@ pr_icmph(struct icmp *icp)
(void)printf(Destination Net Unreachable for
TOS\n);
break;
case ICMP_UNREACH_TOSHOST:
-   (void)printf(Desination Host Unreachable for
TOS\n);
+   (void)printf(Destination Host Unreachable for
TOS\n);
break;
case ICMP_UNREACH_FILTER_PROHIB:
(void)printf(Route administratively
prohibited\n);