summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-12-22 04:39:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-12-22 04:39:23 +0000
commit63e26201a500f8d88680876924801dceece97a26 (patch)
treed3b4569a87e431374b4d48f35a0a8c834f36efa8 /sys
parente75b29c971d8d424d724d7ac0a7656ca3f534f3b (diff)
fix debug drive printing
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/stand/libsa/diskprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/libsa/diskprobe.c b/sys/arch/i386/stand/libsa/diskprobe.c
index 83b8e901ce1..3342ff37b10 100644
--- a/sys/arch/i386/stand/libsa/diskprobe.c
+++ b/sys/arch/i386/stand/libsa/diskprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskprobe.c,v 1.12 1997/11/30 21:51:42 mickey Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.13 1997/12/22 04:39:22 mickey Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -108,7 +108,7 @@ hardprobe()
if(bios_getdiskinfo(i, &dip->bios_info)) {
#ifdef BIOS_DEBUG
- printf(" <!hd%u>", i);
+ printf(" <!hd%u>", i&0x7f);
#endif
free(dip, 0);
break;