diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-09-06 23:05:18 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 2000-09-06 23:05:18 +0000 |
commit | 00533602f09488d2b947af4189296120d92020c2 (patch) | |
tree | 0b1cde3be71e78290ff9714df5e0f49b394772bd /sys/arch/powerpc | |
parent | 953afaad68de00e2fc68be4f909cde6f4c3f27db (diff) |
user_config needs ifdef BOOT_CONFIG protection.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/machdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/machdep.c b/sys/arch/powerpc/powerpc/machdep.c index a4cdcb0e639..bc351d6e335 100644 --- a/sys/arch/powerpc/powerpc/machdep.c +++ b/sys/arch/powerpc/powerpc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.45 2000/09/06 02:45:11 rahnds Exp $ */ +/* $OpenBSD: machdep.c,v 1.46 2000/09/06 23:05:17 rahnds Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -369,7 +369,11 @@ where = 3; printf("inited\n"); /* while using openfirmware, run userconfig */ if (boothowto & RB_CONFIG) { +#ifdef BOOT_CONFIG user_config(); +#else + printf("kernel does not support -c; continuing..\n"); +#endif } /* * Replace with real console. |