]> git.ozlabs.org Git - petitboot/commitdiff
discover/platform: Use pb_log_fn
authorGeoff Levand <geoff@infradead.org>
Wed, 8 Aug 2018 00:01:09 +0000 (00:01 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 14 Aug 2018 01:10:04 +0000 (11:10 +1000)
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/platform.c

index 767f66e6fa41c4b25135287dacdff288a73e0677..237da3a9f0ece3427071844d9e611226da364c9b 100644 (file)
@@ -153,7 +153,7 @@ void config_set_defaults(struct config *config)
        config->debug = config_debug_on_cmdline();
 
        lang = setlocale(LC_ALL, NULL);
-       pb_log("lang: %s\n", lang);
+       pb_log_fn("lang: %s\n", lang);
        if (lang && strlen(lang))
                config->lang = talloc_strdup(config, lang);
        else