]> git.ozlabs.org Git - petitboot/blobdiff - lib/security/common.c
lib/log: Switch to pb_log_fn
[petitboot] / lib / security / common.c
index df040549a57c0435de195fc9592a671160da745a..a93ee9890eca98ff2f153fdbb2410faf12c269ca 100644 (file)
@@ -81,7 +81,7 @@ int validate_boot_files(struct boot_task *boot_task) {
     /* Load authorized signatures file */
     authorized_signatures_handle = fopen(LOCKDOWN_FILE, "r");
     if (!authorized_signatures_handle) {
-        pb_log("%s: unable to read lockdown file\n", __func__);
+        pb_log_fn("unable to read lockdown file\n");
         return KEXEC_LOAD_SIG_SETUP_INVALID;
     }