diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-08-15 15:41:36 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-08-15 15:41:36 +0000 |
commit | 038bc59b5243f431feb47c0504440fd197a068f6 (patch) | |
tree | d4fa2a1cdf8b87d60dc04804d141e2c619330c7b | |
parent | 0da26172954f9091cc28e70479162cd78d0f2fdb (diff) |
One line fix to make boot link from miod whose main NFS server
is down at the moment.
-rw-r--r-- | sys/arch/sparc/stand/common/promdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/stand/common/promdev.c b/sys/arch/sparc/stand/common/promdev.c index 794b69185d5..54ae9041910 100644 --- a/sys/arch/sparc/stand/common/promdev.c +++ b/sys/arch/sparc/stand/common/promdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: promdev.c,v 1.6 2002/08/12 00:41:11 miod Exp $ */ +/* $OpenBSD: promdev.c,v 1.7 2002/08/15 15:41:35 millert Exp $ */ /* $NetBSD: promdev.c,v 1.16 1995/11/14 15:04:01 pk Exp $ */ /* @@ -416,7 +416,7 @@ getchar() (*promvec->pv_v2bootargs.v2_fd0, (caddr_t)&c, 1)) != 1); else { /* SUN4 PROM: must turn off local echo */ - extern struct om_vector *oldpvec; + struct om_vector *oldpvec = (struct om_vector *)PROM_BASE; int saveecho = 0; if (CPU_ISSUN4) { |