pxe: change debugging message to dprintf()
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 04:58:38 +0000 (20:58 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Mar 2010 04:58:38 +0000 (20:58 -0800)
Marking debug messages is what dprintf() is for...

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

index 3b4c414..879dfb6 100644 (file)
@@ -981,7 +981,7 @@ static int pxe_chdir(struct fs_info *fs, const char *src)
     else
        strlcpy(fs->cwd_name, src, sizeof fs->cwd_name);
 
-    printf("cwd = \"%s\"\n", fs->cwd_name);
+    dprintf("cwd = \"%s\"\n", fs->cwd_name);
     return 0;
 }