s3: Fix the build of the nfsv4 acl code
authorVolker Lendecke <vl@samba.org>
Thu, 3 Jun 2010 14:09:31 +0000 (16:09 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 3 Jun 2010 14:10:47 +0000 (16:10 +0200)
source3/modules/nfs4_acls.c

index 83e8f38ae8bb686b348c243fbd7511551d71b37d..36a3057e669b72659ecefa77162719ccb1172525 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "includes.h"
 #include "nfs4_acls.h"
+#include "librpc/gen_ndr/ndr_security.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_ACLS
@@ -331,7 +332,7 @@ static NTSTATUS smb_get_nt_acl_nfs4_common(const SMB_STRUCT_STAT *sbuf,
        }
 
        DEBUG(10, ("smb_get_nt_acl_nfs4_common successfully exited with sd_size %d\n",
-                  (int)ndr_size_security_descriptor(*ppdesc, NULL, 0)));
+                  (int)ndr_size_security_descriptor(*ppdesc, 0)));
 
        return NT_STATUS_OK;
 }