NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/42719: Missing parameter in if_il.c
>Number: 42719
>Category: kern
>Synopsis: Missing parameter in if_il.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 02 09:55:00 +0000 2010
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Missing parameter found by cppcheck.
>How-To-Repeat:
>Fix:
diff -u -r1.24 if_il.c
--- sys/dev/qbus/if_il.c 12 May 2009 14:43:33 -0000 1.24
+++ sys/dev/qbus/if_il.c 2 Feb 2010 09:18:53 -0000
@@ -444,7 +444,8 @@
char bits[64];
snprintb(bits, sizeof(bits), IL_BITS, IL_RCSR(IL_CSR));
- aprint_error_dev(&sc->sc_dev, "stray xmit interrupt, csr=%s\n",
+ aprint_error_dev(&sc->sc_dev,
+ "stray xmit interrupt, csr=%s\n", bits);
return;
}
Home |
Main Index |
Thread Index |
Old Index