lib/replace: Undo change of 0 -> NULL
authorAndrew Bartlett <abartlet@samba.org>
Sun, 3 Jun 2012 05:45:16 +0000 (15:45 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 3 Jun 2012 05:46:15 +0000 (15:46 +1000)
This reverts part of e9d797e153ae95561dbb10b56a41281b2472f137 as
in the autoconf tests, NULL isn't available!

(it is available in waf, which caused confusion)

Andrew Bartlett

lib/replace/libreplace.m4

index 7e978ff54b3afc5882431c6a4373ff86cc5fff22..ad0f90411e7446e1d8ba349273f1b2327ace33be 100644 (file)
@@ -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])