Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2009 09:02:35 GMT
From:      Henning Petersen <henning.petersen@t-online.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/137758: Delete one ")"  in amr.c
Message-ID:  <200908140902.n7E92Zm8052893@www.freebsd.org>
Resent-Message-ID: <200908140910.n7E9A5PJ031382@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908140902.n7E92Zm8052893>