NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44800: Misplaced parenthesis.
>Number: 44800
>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:40:00 +0000 2011
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced parenthesis.
>How-To-Repeat:
>Fix:
diff -u -r1.1 if_vte.c
--- sys/dev/pci/if_vte.c 26 Jan 2011 18:48:13 -0000 1.1
+++ sys/dev/pci/if_vte.c 26 Mar 2011 11:12:44 -0000
@@ -216,7 +216,7 @@
/* Reset the ethernet controller. */
vte_reset(sc);
- if ((error = vte_dma_alloc(sc) != 0))
+ if ((error = vte_dma_alloc(sc)) != 0)
return;
/* Load station address. */
Home |
Main Index |
Thread Index |
Old Index