aboutsummaryrefslogtreecommitdiff
path: root/lib/libnfs/printf.patch
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2011-06-13 15:40:52 +0200
committerMemphiz <memphis@machzwo.de>2011-06-13 15:40:52 +0200
commit7d32b14d1d301dd369c08c4ba3396e610fcc13a3 (patch)
tree479bdf508c3cce5f991a7f2062f2df0897b547d5 /lib/libnfs/printf.patch
parente8a1f308272b8be6d4ba79dae058430524769058 (diff)
[libnfs] - stop syslog spamming of libnfs
Diffstat (limited to 'lib/libnfs/printf.patch')
-rw-r--r--lib/libnfs/printf.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libnfs/printf.patch b/lib/libnfs/printf.patch
new file mode 100644
index 0000000000..2cdf264c6c
--- /dev/null
+++ b/lib/libnfs/printf.patch
@@ -0,0 +1,12 @@
+--- lib/libnfs-sync.c 2011-06-11 01:23:58.000000000 +0200
++++ lib/libnfs-sync.c 2011-06-13 15:04:59.000000000 +0200
+@@ -34,6 +34,9 @@
+ #include "libnfs-raw-mount.h"
+ #include "libnfs-raw-nfs.h"
+
++#undef printf
++int printf(const char* str, ...){return 0;}
++
+ struct sync_cb_data {
+ int is_finished;
+ int status;