aboutsummaryrefslogtreecommitdiff
path: root/lib/libnfs/printf.patch
diff options
context:
space:
mode:
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;