NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44798: Misplaced parenthesis.
>Number: 44798
>Category: kern
>Synopsis: Misplaced parenthesis.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 30 12:30:07 +0000 2011
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced parenthesis.
>How-To-Repeat:
>Fix:
diff -u -r1.76 kern_module.c
--- sys/kern/kern_module.c 21 Feb 2011 09:53:06 -0000 1.76
+++ sys/kern/kern_module.c 26 Mar 2011 11:17:26 -0000
@@ -351,7 +351,7 @@
module_listener_cb, NULL);
__link_set_foreach(mip, modules) {
- if ((rv = module_builtin_add(mip, 1, false) != 0))
+ if ((rv = module_builtin_add(mip, 1, false)) != 0)
module_error("builtin %s failed: %d\n",
(*mip)->mi_name, rv);
}
Home |
Main Index |
Thread Index |
Old Index