summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 02:17:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 02:17:36 +0000
commit3b1a7b759f3b67d260bbaf444144f2b47f532578 (patch)
tree4ce5a17fca2092c9bb4cb1ff9623a6cd6b8a7c82 /sys/arch/macppc
parent8e5691c47fad5f97b51544c9ef7162270c110f38 (diff)
no need to print boot device name twice
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/macppc/autoconf.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/arch/macppc/macppc/autoconf.c b/sys/arch/macppc/macppc/autoconf.c
index d7825bc6693..72ac63474d6 100644
--- a/sys/arch/macppc/macppc/autoconf.c
+++ b/sys/arch/macppc/macppc/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.28 2007/05/08 02:16:29 deraadt Exp $ */
+/* $OpenBSD: autoconf.c,v 1.29 2007/05/08 02:17:35 deraadt Exp $ */
/*
* Copyright (c) 1996, 1997 Per Fogelstrom
* Copyright (c) 1995 Theo de Raadt
@@ -37,7 +37,7 @@
* from: Utah Hdr: autoconf.c 1.31 91/01/21
*
* from: @(#)autoconf.c 8.1 (Berkeley) 6/10/93
- * $Id: autoconf.c,v 1.28 2007/05/08 02:16:29 deraadt Exp $
+ * $Id: autoconf.c,v 1.29 2007/05/08 02:17:35 deraadt Exp $
*/
/*
@@ -283,12 +283,6 @@ diskconf(void)
/* Lookup boot device from boot if not set by configuration */
bootdv = parsedisk(bootdev, strlen(bootdev), 0, &temp);
- if (bootdv == NULL) {
- printf("boot device: lookup '%s' failed.\n", bootdev);
- boothowto |= RB_ASKNAME; /* Don't Panic :-) */
- } else
- printf("boot device: %s\n", bootdv->dv_xname);
-
setroot(bootdv, part, RB_USERREQ);
dumpconf();
}