summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/grf.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-06 17:24:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-06 17:24:13 +0000
commit1fccb849f8441001200bc3849bb5c6eeeab228e7 (patch)
tree2d195905106e1e1953f8bc14132f8fc3c623e018 /sys/arch/hp300/dev/grf.c
parent5bf8b4b248708994044c7e0ca0bdce285a3e9677 (diff)
please gcc 2.8
Diffstat (limited to 'sys/arch/hp300/dev/grf.c')
-rw-r--r--sys/arch/hp300/dev/grf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/grf.c b/sys/arch/hp300/dev/grf.c
index d4fb949475c..ce31812cbd1 100644
--- a/sys/arch/hp300/dev/grf.c
+++ b/sys/arch/hp300/dev/grf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf.c,v 1.6 1997/04/16 11:56:02 downsj Exp $ */
+/* $OpenBSD: grf.c,v 1.7 1998/03/06 17:24:11 millert Exp $ */
/* $NetBSD: grf.c,v 1.25 1997/04/02 22:37:30 scottr Exp $ */
/*
@@ -183,16 +183,17 @@ grfopen(dev, flags, mode, p)
/*
* XXX: cannot handle both HPUX and BSD processes at the same time
*/
- if (p->p_emul == &emul_hpux)
+ if (p->p_emul == &emul_hpux) {
if (gp->g_flags & GF_BSDOPEN)
return(EBUSY);
else
gp->g_flags |= GF_HPUXOPEN;
- else
+ } else {
if (gp->g_flags & GF_HPUXOPEN)
return(EBUSY);
else
gp->g_flags |= GF_BSDOPEN;
+ }
#endif
/*
* First open.