summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_drv.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 21:35:35 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 21:35:35 +0000
commitcb923ab23a4327cb3ba8911387be536a0f1deaa5 (patch)
treec316ae7ff4f46a837c062d908ba550040f332fbf /sys/arch/i386/isa/pcvt/pcvt_drv.c
parent587476c34bf5a32f3795d7e25eaac365650efa98 (diff)
GCC 2.8 -Wall
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_drv.c')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_drv.c b/sys/arch/i386/isa/pcvt/pcvt_drv.c
index 2aa1cf54640..2f76c9c6d5a 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_drv.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_drv.c,v 1.18 1998/01/04 12:11:37 deraadt Exp $ */
+/* $OpenBSD: pcvt_drv.c,v 1.19 1998/02/22 21:35:33 niklas Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -631,7 +631,7 @@ pctty(Dev_t dev)
int
pcioctl(Dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
{
- register error;
+ register int error;
register struct tty *tp;
if((tp = get_pccons(dev)) == NULL)