Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/gpib Add a missing parentheses. PR kern/41859
details: https://anonhg.NetBSD.org/src/rev/b08ae954c499
branches: trunk
changeset: 747377:b08ae954c499
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Sep 12 18:43:03 2009 +0000
description:
Add a missing parentheses. PR kern/41859
diffstat:
sys/dev/gpib/ppi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e94f05ad8db1 -r b08ae954c499 sys/dev/gpib/ppi.c
--- a/sys/dev/gpib/ppi.c Sat Sep 12 18:41:05 2009 +0000
+++ b/sys/dev/gpib/ppi.c Sat Sep 12 18:43:03 2009 +0000
@@ -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",
Home |
Main Index |
Thread Index |
Old Index