summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/dboot/dboot_printf.c
diff options
context:
space:
mode:
authorGary Mills <gary_mills@fastmail.fm>2012-04-05 08:47:21 -0500
committerRichard Lowe <richlowe@richlowe.net>2012-04-05 12:03:45 -0400
commit0d928757379972073af9fb22bdc827b74e8ba6ac (patch)
tree79bcc93c50934129469c5b7a8bb888f63f5bf1ba /usr/src/uts/i86pc/dboot/dboot_printf.c
parentae7c44f85e4d160f633af16b1c85da812de7052c (diff)
downloadillumos-joyent-0d928757379972073af9fb22bdc827b74e8ba6ac.tar.gz
1469 ttyc/ttyd should be an allowed console device
Reviewed by: Milan Jurik <milan.jurik@xylab.cz> Reviewed by: Alexander Eremin <alexander.r.eremin@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
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();
}