diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-14 11:38:57 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-01-14 11:38:57 +0000 |
commit | ee93529d1d0dd4b860709d39b5fb54d42dbe4b86 (patch) | |
tree | 27e501aaa38a6ecba6e9aa7d9c34226e10233993 /sys/arch/hppa | |
parent | cefb499ca867da41a17c9180de46715480f2ed5b (diff) |
preserve the partition when decoding the boot device
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/stand/libsa/dev_hppa.c | 4 |
1 files changed, 2 insertions, 2 deletions
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++ = '/'; |