summaryrefslogtreecommitdiff
path: root/fs/ncpfs/ncp_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ncpfs/ncp_fs.h')
-rw-r--r--fs/ncpfs/ncp_fs.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/ncpfs/ncp_fs.h b/fs/ncpfs/ncp_fs.h
index b54ad123b9d4..d52e7e6b5eed 100644
--- a/fs/ncpfs/ncp_fs.h
+++ b/fs/ncpfs/ncp_fs.h
@@ -7,9 +7,14 @@
#undef NCPFS_PARANOIA
#ifdef NCPFS_PARANOIA
-#define PPRINTK(format, args...) PRINTK(format , ## args)
+#define ncp_vdbg(fmt, ...) \
+ pr_debug(fmt, ##__VA_ARGS__)
#else
-#define PPRINTK(format, args...)
+#define ncp_vdbg(fmt, ...) \
+do { \
+ if (0) \
+ pr_debug(fmt, ##__VA_ARGS__); \
+} while (0)
#endif
#ifndef DEBUG_NCP