loadconfig: replace printf() with dprintf()
authorH. Peter Anvin <hpa@zytor.com>
Tue, 9 Mar 2010 04:56:55 +0000 (20:56 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 9 Mar 2010 04:56:55 +0000 (20:56 -0800)
It's a debugging statement, just dprintf() it.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/lib/loadconfig.c

index b415347..9318c1c 100644 (file)
@@ -1,3 +1,4 @@
+#include <dprintf.h>
 #include <stdio.h>
 #include <string.h>
 #include <core.h>
@@ -13,7 +14,7 @@ int generic_load_config(void)
     chdir(CurrentDirName);
     realpath(ConfigName, "extlinux.conf", FILENAME_MAX);
 
-    printf("config = %s\n", ConfigName);
+    dprintf("Config = %s\n", ConfigName);
 
     memset(&regs, 0, sizeof regs);
     regs.edi.w[0] = OFFS_WRT(ConfigName, 0);