summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-03 15:45:16 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-03 15:46:15 +1000
commitaa08fc066b93156f543b57681a8a34b54d0eff33 (patch)
treec1588bcbb75c5bd90b149d13b0125e87bbe4b046 /lib/replace
parent6c4cdbe8916ad4782058847358404bc005c5d908 (diff)
downloadsamba-aa08fc066b93156f543b57681a8a34b54d0eff33.tar.gz
samba-aa08fc066b93156f543b57681a8a34b54d0eff33.tar.bz2
samba-aa08fc066b93156f543b57681a8a34b54d0eff33.zip
lib/replace: Undo change of 0 -> NULL
This reverts part of e9d797e153ae95561dbb10b56a41281b2472f137 as in the autoconf tests, NULL isn't available! (it is available in waf, which caused confusion) Andrew Bartlett
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/libreplace.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4
index 7e978ff54b..ad0f90411e 100644
--- a/lib/replace/libreplace.m4
+++ b/lib/replace/libreplace.m4
@@ -188,7 +188,7 @@ if test x"$ac_cv_func_getxattr" = x"yes" ; then
#include <sys/xattr.h>
#endif
],[
- getxattr(NULL, NULL, NULL, 0, 0, 0);
+ getxattr(0, 0, 0, 0, 0, 0);
],
[smb_attr_cv_xattr_add_opt=yes],
[smb_attr_cv_xattr_add_opt=no;LIBS=$old_LIBS])