From 595cbd2e050401adf0cab2bab6ce52f902dfbb54 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 3 May 1996 09:10:29 +0000 Subject: sync w/ 0430 --- sys/arch/vax/boot/devopen.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/arch/vax/boot/devopen.c') 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); -- cgit v1.2.3