From e2ab6785c079a46f843a58ff72dcdfcb27aafe69 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Tue, 23 Jul 2002 21:04:27 +0000 Subject: Allow 'boot hd:,ofwboot bsd' previously it required '/bsd' instead of just 'bsd'. --- sys/arch/macppc/stand/ofdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch/macppc/stand') 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) -- cgit v1.2.3