From c41fd51826a6e8750353bd99e016b01a9713c4ba Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 22 Mar 2000 04:33:44 +0000 Subject: [PATCH] allow opening of the fga char device --- sys/arch/sparc/dev/fga.c | 4 ++-- 1 file 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); } -- 2.20.1