[syslinux:pathbased] pxe: change debugging message to dprintf()

syslinux-bot for H. Peter Anvin hpa at zytor.com
Sun Feb 28 21:00:16 PST 2010


Commit-ID:  4040867062f37c08ec0834829c3b31b4af642484
Gitweb:     http://syslinux.zytor.com/commit/4040867062f37c08ec0834829c3b31b4af642484
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Sun, 28 Feb 2010 20:58:38 -0800
Committer:  H. Peter Anvin <hpa at zytor.com>
CommitDate: Sun, 28 Feb 2010 20:58:38 -0800

pxe: change debugging message to dprintf()

Marking debug messages is what dprintf() is for...

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/fs/pxe/pxe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/fs/pxe/pxe.c b/core/fs/pxe/pxe.c
index 3b4c414..879dfb6 100644
--- a/core/fs/pxe/pxe.c
+++ b/core/fs/pxe/pxe.c
@@ -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;
 }
 



More information about the Syslinux-commits mailing list