summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/os/fakebop.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/i86pc/os/fakebop.c')
-rw-r--r--usr/src/uts/i86pc/os/fakebop.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/usr/src/uts/i86pc/os/fakebop.c b/usr/src/uts/i86pc/os/fakebop.c
index 2ee67b522b..1544eab3b6 100644
--- a/usr/src/uts/i86pc/os/fakebop.c
+++ b/usr/src/uts/i86pc/os/fakebop.c
@@ -859,22 +859,28 @@ done:
/*
* print formatted output
*/
-/*PRINTFLIKE2*/
/*ARGSUSED*/
void
-bop_printf(bootops_t *bop, const char *fmt, ...)
+vbop_printf(void *ptr, const char *fmt, va_list ap)
{
- va_list ap;
-
if (have_console == 0)
return;
- va_start(ap, fmt);
(void) vsnprintf(buffer, BUFFERSIZE, fmt, ap);
- va_end(ap);
PUT_STRING(buffer);
}
+/*PRINTFLIKE2*/
+void
+bop_printf(void *bop, const char *fmt, ...)
+{
+ va_list ap;
+
+ va_start(ap, fmt);
+ vbop_printf(bop, fmt, ap);
+ va_end(ap);
+}
+
/*
* Another panic() variant; this one can be used even earlier during boot than
* prom_panic().