Fix two debug statements: Add missing printf parameter.
authorMichael Adam <obnox@samba.org>
Tue, 4 Dec 2007 07:25:21 +0000 (08:25 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 19 Dec 2007 22:07:59 +0000 (23:07 +0100)
Michael
(This used to be commit 1c4f74551f48429ee3af2022101a97679e25cdea)

source3/modules/vfs_zfsacl.c

index 307fa9977f5d1a9ad4d5a6b04af7101b1537c1c1..83893c7aea368158aee49d9e41ebcb49247cb4d8 100644 (file)
@@ -48,7 +48,7 @@ static NTSTATUS zfs_get_nt_acl_common(const char *name,
                if(errno == ENOSYS) {
                        DEBUG(9, ("acl(ACE_GETACLCNT, %s): Operation is not "
                                  "supported on the filesystem where the file "
-                                 "reside"));
+                                 "reside", name));
                } else {
                        DEBUG(9, ("acl(ACE_GETACLCNT, %s): %s ", name,
                                        strerror(errno)));
@@ -149,7 +149,7 @@ static bool zfs_process_smbacl(files_struct *fsp, SMB4ACL_T *smbacl)
                if(errno == ENOSYS) {
                        DEBUG(9, ("acl(ACE_SETACL, %s): Operation is not "
                                  "supported on the filesystem where the file "
-                                 "reside"));
+                                 "reside", fsp->fsp_name));
                } else {
                        DEBUG(9, ("acl(ACE_SETACL, %s): %s ", fsp->fsp_name,
                                        strerror(errno)));