diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 2001-08-03 16:17:48 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 2001-08-03 16:17:48 +0000 |
commit | 61a5193214865e775238fb72a121cabd0098e3ca (patch) | |
tree | 4338e7e5616eaa3c121d85a633fa7118a8b05ebc /sys/dev | |
parent | ed43c10a46184e33eb8c5b1fe7a748889f2a26d1 (diff) |
Avoid warning when building with vga on isa without vga on pci; ok mickey@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/vga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c index 5857391a7e1..06a73164047 100644 --- a/sys/dev/ic/vga.c +++ b/sys/dev/ic/vga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga.c,v 1.26 2001/05/16 19:17:01 mickey Exp $ */ +/* $OpenBSD: vga.c,v 1.27 2001/08/03 16:17:47 tholo Exp $ */ /* $NetBSD: vga.c,v 1.28.2.1 2000/06/30 16:27:47 simonb Exp $ */ /* @@ -591,9 +591,9 @@ vga_ioctl(v, cmd, data, flag, p) struct proc *p; { struct vga_config *vc = v; +#if NVGA_PCI > 0 int error; -#if NVGA_PCI > 0 if (vc->vc_type == WSDISPLAY_TYPE_PCIVGA && (error = vga_pci_ioctl(v, cmd, data, flag, p)) != ENOTTY) return (error); |