summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/dboot/dboot_printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/i86pc/dboot/dboot_printf.c')
-rw-r--r--usr/src/uts/i86pc/dboot/dboot_printf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/i86pc/dboot/dboot_printf.c b/usr/src/uts/i86pc/dboot/dboot_printf.c
index ceb46659dd..d834364839 100644
--- a/usr/src/uts/i86pc/dboot/dboot_printf.c
+++ b/usr/src/uts/i86pc/dboot/dboot_printf.c
@@ -20,12 +20,12 @@
*/
/*
+ * Copyright (c) 2012 Gary Mills
+ *
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/param.h>
#include <sys/machparam.h>
@@ -59,7 +59,7 @@ dboot_panic(char *fmt, ...)
va_start(args, fmt);
do_dboot_printf(fmt, args);
- if (console == CONS_SCREEN_TEXT) {
+ if (boot_console_type(NULL) == CONS_SCREEN_TEXT) {
dboot_printf("Press any key to reboot\n");
(void) bcons_getchar();
}