sys/tools/fw_stub.awk: Change printf to kprintf as this is kernel code.
[dragonfly.git] / sys / tools / fw_stub.awk
index 332b80f..bedc2a6 100644 (file)
@@ -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");
 }