From 213cf3500c93134315fb6e0531a0184b90086c89 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Wed, 22 Mar 2000 04:33:45 +0000 Subject: allow opening of the fga char device --- sys/arch/sparc/dev/fga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc/dev') 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); } -- cgit v1.2.3