From f7db963671bacf0de227f6c6b6d4929f58c26609 Mon Sep 17 00:00:00 2001 From: he Date: Tue, 17 Jun 2008 19:46:23 +0000 Subject: [PATCH] Add a missing parenthesis so that this builds again. --- sys/arch/hp300/dev/ct.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/hp300/dev/ct.c b/sys/arch/hp300/dev/ct.c index 51537aafb2e1..6c05ad842758 100644 --- a/sys/arch/hp300/dev/ct.c +++ b/sys/arch/hp300/dev/ct.c @@ -1,4 +1,4 @@ -/* $NetBSD: ct.c,v 1.55 2008/06/13 09:41:15 cegger Exp $ */ +/* $NetBSD: ct.c,v 1.56 2008/06/17 19:46:23 he Exp $ */ /*- * Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. @@ -75,7 +75,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.55 2008/06/13 09:41:15 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ct.c,v 1.56 2008/06/17 19:46:23 he Exp $"); #include #include @@ -363,7 +363,7 @@ ctopen(dev_t dev, int flag, int type, struct lwp *l) if (sc == NULL) return ENXIO; - if (sc->sc_flags & CTF_ALIVE) == 0) + if ((sc->sc_flags & CTF_ALIVE) == 0) return ENXIO; if (sc->sc_flags & CTF_OPEN)