summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-04-07 02:07:07 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-04-07 02:07:07 +0000
commit6377c617eda415f5477f625fe2994ea16d89b892 (patch)
treecd9c3cba8215c5f5feabde520e20601af990c4ab /sys/arch/i386/stand/libsa
parent9c5810a1b400b3bb9f8605f81ed05db19486723d (diff)
Fix device name.
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r--sys/arch/i386/stand/libsa/dev_i386.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/dev_i386.c b/sys/arch/i386/stand/libsa/dev_i386.c
index c80d9268af1..a59750fc2c4 100644
--- a/sys/arch/i386/stand/libsa/dev_i386.c
+++ b/sys/arch/i386/stand/libsa/dev_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev_i386.c,v 1.4 1997/04/06 20:08:25 mickey Exp $ */
+/* $OpenBSD: dev_i386.c,v 1.5 1997/04/07 02:07:06 weingart Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -95,8 +95,17 @@ devboot(bootdev, p)
else
*p++ = 'f';
*p++ = 'd';
+#ifndef _TEST
+ *p++ = '(';
+#endif
*p++ = '0' + (bootdev & 0x7f);
+#ifndef _TEST
+ *p++ = ',';
+#endif
*p++ = 'a';
+#ifndef _TEST
+ *p++ = ')';
+#endif
*p = '\0';
}