]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_gpfs: Cleanup debug message file system share mode
authorChristof Schmitt <cs@samba.org>
Fri, 3 Jan 2020 19:56:07 +0000 (12:56 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 8 Jan 2020 00:01:36 +0000 (00:01 +0000)
Use the newer debug macro and the full variable names.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_gpfs.c

index 10db72dcd35fa79b7bf1e048289246679c209997..52ca1a2095455951e6f5b94254d07cb84c915ec2 100644 (file)
@@ -127,8 +127,8 @@ static bool set_gpfs_sharemode(files_struct *fsp, uint32_t access_mask,
                allow = vfs_gpfs_access_mask_to_allow(access_mask);
                deny = vfs_gpfs_share_access_to_deny(share_access);
        }
-       DEBUG(10, ("am=%x, allow=%d, sa=%x, deny=%d\n",
-                  access_mask, allow, share_access, deny));
+       DBG_DEBUG("access_mask=0x%x, allow=0x%x, share_access=0x%x, "
+                 "deny=0x%x\n", access_mask, allow, share_access, deny);
 
        result = gpfswrap_set_share(fsp->fh->fd, allow, deny);
        if (result != 0) {