Module Name:    src
Committed By:   tsutsui
Date:           Sat Sep 12 18:43:03 UTC 2009

Modified Files:
        src/sys/dev/gpib: ppi.c

Log Message:
Add a missing parentheses. PR kern/41859


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/gpib/ppi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/gpib/ppi.c
diff -u src/sys/dev/gpib/ppi.c:1.17 src/sys/dev/gpib/ppi.c:1.18
--- src/sys/dev/gpib/ppi.c:1.17	Tue May 12 14:21:58 2009
+++ src/sys/dev/gpib/ppi.c	Sat Sep 12 18:43:03 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ppi.c,v 1.17 2009/05/12 14:21:58 cegger Exp $	*/
+/*	$NetBSD: ppi.c,v 1.18 2009/09/12 18:43:03 tsutsui Exp $	*/
 
 /*-
  * Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppi.c,v 1.17 2009/05/12 14:21:58 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppi.c,v 1.18 2009/09/12 18:43:03 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -181,7 +181,7 @@
 	if (sc == NULL)
 		return (ENXIO);
 
-	if (sc->sc_flags & PPIF_ALIVE) == 0)
+	if ((sc->sc_flags & PPIF_ALIVE) == 0)
 		return (ENXIO);
 
 	DPRINTF(PDB_FOLLOW, ("ppiopen(%x, %x): flags %x\n",

Reply via email to