From 85e0d335bee51eab9b7917008cdf7774cb9b636b Mon Sep 17 00:00:00 2001 From: Paulo Alcantara Date: Mon, 23 Jul 2012 00:00:24 -0300 Subject: [PATCH] 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 --- core/fs/xfs/xfs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include +#include #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; -- 2.11.4.GIT