diff mbox series

[v1,2/6] discover/platform: Use pb_log_fn

Message ID fa9ca32d00557605689d2eedc5939dfa43846765.1533686335.git.geoff@infradead.org
State Accepted
Headers show
Series [v1,1/6] docker: Add strace for interactive debugging | expand

Commit Message

Geoff Levand Aug. 8, 2018, 12:01 a.m. UTC
Signed-off-by: Geoff Levand <geoff@infradead.org>
---
 discover/platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/discover/platform.c b/discover/platform.c
index 767f66e..237da3a 100644
--- a/discover/platform.c
+++ b/discover/platform.c
@@ -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