From ee93529d1d0dd4b860709d39b5fb54d42dbe4b86 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 14 Jan 2003 11:38:57 +0000 Subject: preserve the partition when decoding the boot device --- sys/arch/hppa/stand/libsa/dev_hppa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/hppa') diff --git a/sys/arch/hppa/stand/libsa/dev_hppa.c b/sys/arch/hppa/stand/libsa/dev_hppa.c index f2a7f43a918..71bbcc41fb3 100644 --- a/sys/arch/hppa/stand/libsa/dev_hppa.c +++ b/sys/arch/hppa/stand/libsa/dev_hppa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev_hppa.c,v 1.5 1999/04/20 20:01:01 mickey Exp $ */ +/* $OpenBSD: dev_hppa.c,v 1.6 2003/01/14 11:38:56 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -149,7 +149,7 @@ devboot(dev, p) unit = 0; break; } - dev = bootdev = MAKEBOOTDEV(type, 0, 0, unit, 0); + dev = bootdev = MAKEBOOTDEV(type, 0, 0, unit, B_PARTITION(dev)); } #ifdef _TEST *p++ = '/'; -- cgit v1.2.3