summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-03-22 04:33:45 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-03-22 04:33:45 +0000
commit213cf3500c93134315fb6e0531a0184b90086c89 (patch)
treed03f228e3b977cc9554552ce21b3e6686cfea5ee /sys/arch/sparc/dev
parent41e0c3bf8c2d20f483f2a3acfe601d5ada53fc0b (diff)
allow opening of the fga char device
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/fga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fga.c b/sys/arch/sparc/dev/fga.c
index 338f9099c6a..4d5cecab670 100644
--- a/sys/arch/sparc/dev/fga.c
+++ b/sys/arch/sparc/dev/fga.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fga.c,v 1.3 1999/08/29 07:01:31 jason Exp $ */
+/* $OpenBSD: fga.c,v 1.4 2000/03/22 04:33:44 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -610,7 +610,7 @@ fgaopen(dev, flags, mode, p)
int flags, mode;
struct proc *p;
{
- if (fga_cd.cd_ndevs == 0 || fga_cd.cd_ndevs != 0)
+ if (fga_cd.cd_ndevs == 0)
return (ENXIO);
return (0);
}