diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 09:10:29 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 09:10:29 +0000 |
commit | 595cbd2e050401adf0cab2bab6ce52f902dfbb54 (patch) | |
tree | 8474c159022572bb93d15b7f2c287d1044321bc1 /sys/arch/vax/boot/devopen.c | |
parent | 3472e7ae763d3e453e57b218243b6d60ece25b43 (diff) |
sync w/ 0430
Diffstat (limited to 'sys/arch/vax/boot/devopen.c')
-rw-r--r-- | sys/arch/vax/boot/devopen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/vax/boot/devopen.c b/sys/arch/vax/boot/devopen.c index 6200f477f49..d3468b427dd 100644 --- a/sys/arch/vax/boot/devopen.c +++ b/sys/arch/vax/boot/devopen.c @@ -1,4 +1,4 @@ -/* $NetBSD: devopen.c,v 1.3 1995/09/16 13:18:29 ragge Exp $ */ +/* $NetBSD: devopen.c,v 1.4 1996/03/16 11:02:28 ragge Exp $ */ /*- * Copyright (c) 1993 John Brezak * All rights reserved. @@ -182,13 +182,14 @@ devopen(f, fname, file) { int n, error; int dev, ctlr, unit, part; - int adapt = 0; /* XXX not used on HP */ + int adapt; struct devsw *dp = &devsw[0]; dev = B_TYPE(bootdev); ctlr = B_CONTROLLER(bootdev); unit = B_UNIT(bootdev); part = B_PARTITION(bootdev); + adapt = B_ADAPTOR(bootdev); if (error = devparse(fname, &dev, &adapt, &ctlr, &unit, &part, file)) return(error); |