aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2012-07-23 00:00:24 -0300
committerPaulo Alcantara <pcacjr@zytor.com>2012-07-23 11:43:38 -0300
commit85e0d335bee51eab9b7917008cdf7774cb9b636b (patch)
tree3f5a30d593df1e5be48a868f8567afe6ae457f16
parentbc6d4583f7c2236bc5256e0d11d1b523fd1eddd0 (diff)
downloadsyslinux-85e0d335bee51eab9b7917008cdf7774cb9b636b.tar.gz
syslinux-85e0d335bee51eab9b7917008cdf7774cb9b636b.tar.xz
syslinux-85e0d335bee51eab9b7917008cdf7774cb9b636b.zip
xfs: Use dprintf() for debug messages in xfs_debug()
xfs_debug() has been using printf() for debug messages. So, let's use dprintf() function for now (which is the correct to do). Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
-rw-r--r--core/fs/xfs/xfs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fs/xfs/xfs.h b/core/fs/xfs/xfs.h
index d44e42a7..a7330c27 100644
--- a/core/fs/xfs/xfs.h
+++ b/core/fs/xfs/xfs.h
@@ -25,6 +25,7 @@
#include <disk.h>
#include <fs.h>
+#include <dprintf.h>
#include "xfs_types.h"
#include "xfs_ag.h"
@@ -33,7 +34,7 @@
printf("xfs: " fmt "\n", ## args);
#define xfs_debug(fmt, args...) \
- printf("%s: " fmt "\n", __func__, ## args);
+ dprintf("%s: " fmt "\n", __func__, ## args);
struct xfs_fs_info;