NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/48846: Add missing braces in if_il.c
>Number: 48846
>Category: kern
>Synopsis: Add missing braces in if_il.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 29 06:50:00 +0000 2014
>Originator: Henning Petersen
>Release:
>Organization:
>Environment:
>Description:
Error found by cppcheck of if_il.c .
>How-To-Repeat:
>Fix:
diff -u -p -r1.26 if_il.c
--- sys/dev/qbus/if_il.c 27 Oct 2012 17:18:37 -0000 1.26
+++ sys/dev/qbus/if_il.c 30 Apr 2014 10:35:08 -0000
@@ -332,7 +332,7 @@ ilinit(struct ifnet *ifp)
addr->il_csr = ILC_ALLMC;
if (ilwait(ui, "all multi"))
return 0;
- else {
+ } else {
int i;
register struct ether_addr *ep = is->is_maddrs;
struct ether_multi *enm;
Home |
Main Index |
Thread Index |
Old Index