aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ofw/ofw_console.c
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2013-12-14 22:28:32 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2013-12-14 22:28:32 +0000
commite14376e4dd44b744014cde85f5f52702d2e5dda6 (patch)
tree3683a116f47f46891b7440c086054f06644ab259 /sys/dev/ofw/ofw_console.c
parent92be6c51f098779786970ceb279c710eb4b4f352 (diff)
Notes
Diffstat (limited to 'sys/dev/ofw/ofw_console.c')
-rw-r--r--sys/dev/ofw/ofw_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c
index 30c10187ddf6..7e0276816898 100644
--- a/sys/dev/ofw/ofw_console.c
+++ b/sys/dev/ofw/ofw_console.c
@@ -100,7 +100,7 @@ cn_drvinit(void *unused)
sizeof(output)) == -1)
return;
if (strlen(output) > 0)
- tty_makealias(tp, output);
+ tty_makealias(tp, "%s", output);
}
}