diff options
author | Brandon Creighton <bjc@cvs.openbsd.org> | 2000-10-04 04:48:55 +0000 |
---|---|---|
committer | Brandon Creighton <bjc@cvs.openbsd.org> | 2000-10-04 04:48:55 +0000 |
commit | 015ba209e2e50d75f5aba22cc7ec4adef05ca85f (patch) | |
tree | df301aeab2ad28f50d07684bbcafd916107d37fa | |
parent | def945e055c86b27c7694a758fc133b0134a4485 (diff) |
do not mess with rpb once it's initialized
-rw-r--r-- | sys/arch/vax/boot/boot/rom.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/rom.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/vax/boot/boot/rom.c b/sys/arch/vax/boot/boot/rom.c index 8e36badc906..21494022eb1 100644 --- a/sys/arch/vax/boot/boot/rom.c +++ b/sys/arch/vax/boot/boot/rom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rom.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: rom.c,v 1.2 2000/10/04 04:48:54 bjc Exp $ */ /* $NetBSD: rom.c,v 1.1 1996/08/02 11:22:21 ragge Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -73,7 +73,6 @@ romopen(f, adapt, ctlr, unit, part) int i,err; bootregs[11] = XXRPB; - rpb = (void*)XXRPB; bqo = (void*)rpb->iovec; if (rpb->unit > 0 && (rpb->unit % 100) == 0) { diff --git a/sys/arch/vax/stand/boot/rom.c b/sys/arch/vax/stand/boot/rom.c index 8e36badc906..21494022eb1 100644 --- a/sys/arch/vax/stand/boot/rom.c +++ b/sys/arch/vax/stand/boot/rom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rom.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: rom.c,v 1.2 2000/10/04 04:48:54 bjc Exp $ */ /* $NetBSD: rom.c,v 1.1 1996/08/02 11:22:21 ragge Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -73,7 +73,6 @@ romopen(f, adapt, ctlr, unit, part) int i,err; bootregs[11] = XXRPB; - rpb = (void*)XXRPB; bqo = (void*)rpb->iovec; if (rpb->unit > 0 && (rpb->unit % 100) == 0) { |