Fix incorrect debug - parent_name is never set !
authorJeremy Allison <jra@samba.org>
Tue, 17 Apr 2012 01:04:51 +0000 (18:04 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 7 May 2012 16:37:27 +0000 (18:37 +0200)
source3/modules/vfs_acl_common.c

index 016bb9f5e2ea29eb902a50d692f1c53e84bbe0e5..84aa18f9dd734e5c7840c0360280ff3bc8eafa7b 100644 (file)
@@ -559,7 +559,6 @@ static NTSTATUS check_parent_acl_common(vfs_handle_struct *handle,
                                uint32_t access_mask,
                                struct security_descriptor **pp_parent_desc)
 {
-       char *parent_name = NULL;
        struct security_descriptor *parent_desc = NULL;
        uint32_t access_granted = 0;
        NTSTATUS status;
@@ -578,9 +577,8 @@ static NTSTATUS check_parent_acl_common(vfs_handle_struct *handle,
                                        &access_granted);
        if(!NT_STATUS_IS_OK(status)) {
                DEBUG(10,("check_parent_acl_common: access check "
-                       "on directory %s for "
+                       "on parent directory of "
                        "path %s for mask 0x%x returned %s\n",
-                       parent_name,
                        path,
                        access_mask,
                        nt_errstr(status) ));