From 6393be598d73949cc047eafa4a99a05a23bd79c0 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 18 Jul 2010 18:04:13 +0200 Subject: [PATCH] sys/tools/fw_stub.awk: Change printf to kprintf as this is kernel code. Submitted-by: Johannes Hofmann Dragonfly-bug: --- sys/tools/fw_stub.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/tools/fw_stub.awk b/sys/tools/fw_stub.awk index 332b80ff49..bedc2a66b6 100644 --- a/sys/tools/fw_stub.awk +++ b/sys/tools/fw_stub.awk @@ -152,8 +152,8 @@ if (opt_l) { printc("\ TUNABLE_LONG_FETCH(\"legal." opt_l ".license_ack\", &" opt_l "_license_ack);\ if (!" opt_l "_license_ack) {\ - printf(\"" opt_m ": You need to read the LICENSE file in /usr/share/doc/legal/" opt_l "/.\\n\");\ - printf(\"" opt_m ": If you agree with the license, set legal." opt_l ".license_ack=1 in /boot/loader.conf.\\n\");\ + kprintf(\"" opt_m ": You need to read the LICENSE file in /usr/share/doc/legal/" opt_l "/.\\n\");\ + kprintf(\"" opt_m ": If you agree with the license, set legal." opt_l ".license_ack=1 in /boot/loader.conf.\\n\");\ return(EPERM);\ }\n"); } -- 2.41.0