Date: Mon, 12 Nov 2007 21:10:35 GMT From: Gardner Bell <gbell72@rogers.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/118014: [patch] Minor style(9) change to src/usr.sbin/arp Message-ID: <200711122110.lACLAZL7037539@www.freebsd.org> Resent-Message-ID: <200711122120.lACLK1w7025630@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118014
>Category: misc
>Synopsis: [patch] Minor style(9) change to src/usr.sbin/arp
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 12 21:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Gardner Bell
>Release: FreeBSD 7.0-BETA2
>Organization:
>Environment:
>Description:
-- /usr/src/usr.sbin/arp/arp.c 2007-03-06 04:32:40.000000000 -0500
+++ /home/dan/arp.c 2007-11-12 15:58:30.000000000 -0500
@@ -120,7 +120,7 @@
int aflag = 0; /* do it for all entries */
while ((ch = getopt(argc, argv, "andfsSi:")) != -1)
- switch((char)ch) {
+ switch (ch) {
case 'a':
aflag = 1;
break;
@@ -145,6 +145,7 @@
case '?':
default:
usage();
+ /* NOTREACHED */
}
argc -= optind;
argv += optind;
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711122110.lACLAZL7037539>
