From: Andrew Bartlett Date: Sun, 3 Jun 2012 05:45:16 +0000 (+1000) Subject: lib/replace: Undo change of 0 -> NULL X-Git-Tag: samba-4.0.0beta1~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa08fc066b93156f543b57681a8a34b54d0eff33;p=thirdparty%2Fsamba.git 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 --- diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index 7e978ff54b3..ad0f90411e7 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 #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])