summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2016-05-17 14:10:45 +0000
committerimp <imp@FreeBSD.org>2016-05-17 14:10:45 +0000
commit5c237104d1055cbf07218c94d420db67f36f26e3 (patch)
tree1f2967223d31e229e965dee33aa4f4f9563e16a0 /sys/boot/efi
parent6503c460e39339a209a54fedb311e1dfecd388e7 (diff)
downloadFreeBSD-src-5c237104d1055cbf07218c94d420db67f36f26e3.zip
FreeBSD-src-5c237104d1055cbf07218c94d420db67f36f26e3.tar.gz
It sure would be nice to use printf with wide strings. Implement %S to
do that. The C_WIDEOUT flag indicates that the console supports it. Mark the EFI console as supporting this. MFC After: 3 days
Diffstat (limited to 'sys/boot/efi')
-rw-r--r--sys/boot/efi/libefi/efi_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/efi/libefi/efi_console.c b/sys/boot/efi/libefi/efi_console.c
index 08ea652..68c9a6b 100644
--- a/sys/boot/efi/libefi/efi_console.c
+++ b/sys/boot/efi/libefi/efi_console.c
@@ -61,7 +61,7 @@ int efi_cons_poll(void);
struct console efi_console = {
"efi",
"EFI console",
- 0,
+ C_WIDEOUT,
efi_cons_probe,
efi_cons_init,
efi_cons_putchar,
OpenPOWER on IntegriCloud