summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/stand
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-07-23 21:04:27 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-07-23 21:04:27 +0000
commite2ab6785c079a46f843a58ff72dcdfcb27aafe69 (patch)
tree0ad5d09a3ddaabeae2bb0f808b6be77eeeaa2c5f /sys/arch/macppc/stand
parent98838946d17ae1ac2d019cec6774b6f7855324a0 (diff)
Allow 'boot hd:,ofwboot bsd' previously it required '/bsd' instead of
just 'bsd'.
Diffstat (limited to 'sys/arch/macppc/stand')
-rw-r--r--sys/arch/macppc/stand/ofdev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/macppc/stand/ofdev.c b/sys/arch/macppc/stand/ofdev.c
index a9d1f23d7eb..a219fa6a630 100644
--- a/sys/arch/macppc/stand/ofdev.c
+++ b/sys/arch/macppc/stand/ofdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofdev.c,v 1.2 2002/03/14 01:26:37 millert Exp $ */
+/* $OpenBSD: ofdev.c,v 1.3 2002/07/23 21:04:26 drahn Exp $ */
/* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */
/*
@@ -350,10 +350,8 @@ devopen(of, name, file)
*cp++ = partition;
*cp = 0;
}
-#if 0
if (*buf != '/')
strcat(opened_name, "/");
-#endif
strcat(opened_name, buf);
*file = opened_name + strlen(fname) + 1;
if ((handle = OF_finddevice(fname)) == -1)