From: Christof Schmitt Date: Fri, 3 Jan 2020 19:56:07 +0000 (-0700) Subject: vfs_gpfs: Cleanup debug message file system share mode X-Git-Tag: ldb-2.1.0~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d5763ea8ce14f81107462e7f2dff09b6aec1fbc;p=thirdparty%2Fsamba.git vfs_gpfs: Cleanup debug message file system share mode Use the newer debug macro and the full variable names. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 10db72dcd35..52ca1a20954 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -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) {