kern/137758: Delete one ")" in amr.c

Henning Petersen henning.petersen at t-online.de
Fri Aug 14 09:10:06 UTC 2009


>Number:         137758
>Category:       kern
>Synopsis:       Delete one ")"  in amr.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 14 09:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Henning Petersen
>Release:        current-Freebsd
>Organization:
>Environment:
>Description:
Delete one ")"  in amr.c
>How-To-Repeat:

>Fix:
diff -u -r1.90 amr.c
--- sys/dev/amr/amr.c	2 Aug 2009 14:28:40 -0000	1.90
+++ sys/dev/amr/amr.c	14 Aug 2009 08:30:31 -0000
@@ -229,7 +229,7 @@
     }
 
 #ifdef AMR_BOARD_INIT
-    if ((AMR_IS_QUARTZ(sc) ? amr_quartz_init(sc) : amr_std_init(sc))))
+    if ((AMR_IS_QUARTZ(sc) ? amr_quartz_init(sc) : amr_std_init(sc)))
 	return(ENXIO);
 #endif


Patch attached with submission follows:

Index: sys/dev/amr/amr.c
===================================================================
RCS file: /usr/ncvs/src/sys/dev/amr/amr.c,v
retrieving revision 1.90
diff -u -r1.90 amr.c
--- sys/dev/amr/amr.c	2 Aug 2009 14:28:40 -0000	1.90
+++ sys/dev/amr/amr.c	14 Aug 2009 08:30:31 -0000
@@ -229,7 +229,7 @@
     }
 
 #ifdef AMR_BOARD_INIT
-    if ((AMR_IS_QUARTZ(sc) ? amr_quartz_init(sc) : amr_std_init(sc))))
+    if ((AMR_IS_QUARTZ(sc) ? amr_quartz_init(sc) : amr_std_init(sc)))
 	return(ENXIO);
 #endif
 


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list