summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-05-14 23:18:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-05-14 23:18:10 +0000
commit280177c8c03b7127f86fb36a0c97abd3a78a0c37 (patch)
tree6f26f4d3f766d6f3132a333c3f8106b653c14b14 /sys/arch
parent14df673ded9d074cf419b84213e1f2bff9e5e31a (diff)
Fix uninitialized variable.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/dev/pdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/pdc.c b/sys/arch/hppa/dev/pdc.c
index 8c53679f72c..d9e3dd00ba0 100644
--- a/sys/arch/hppa/dev/pdc.c
+++ b/sys/arch/hppa/dev/pdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.c,v 1.24 2002/03/14 03:15:53 millert Exp $ */
+/* $OpenBSD: pdc.c,v 1.25 2003/05/14 23:18:09 miod Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -196,7 +196,7 @@ pdcopen(dev, flag, mode, p)
struct pdc_softc *sc;
struct tty *tp;
int s;
- int error = 0, setuptimeout;
+ int error = 0, setuptimeout = 0;
if (unit >= pdc_cd.cd_ndevs || (sc = pdc_cd.cd_devs[unit]) == NULL)
return ENXIO;