1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix warning message about data type always true.

Jeremy.
This commit is contained in:
Jeremy Allison 2007-12-11 15:10:37 -08:00
parent 657bf8c347
commit 0a3be0aad7

View File

@ -1372,7 +1372,7 @@ static bool smb_full_audit_lock(vfs_handle_struct *handle, files_struct *fsp, in
result = SMB_VFS_NEXT_LOCK(handle, fsp, fd, op, offset, count, type);
do_log(SMB_VFS_OP_LOCK, (result >= 0), handle, "%s", fsp->fsp_name);
do_log(SMB_VFS_OP_LOCK, result, handle, "%s", fsp->fsp_name);
return result;
}
@ -1411,7 +1411,7 @@ static bool smb_full_audit_getlock(vfs_handle_struct *handle, files_struct *fsp,
result = SMB_VFS_NEXT_GETLOCK(handle, fsp, fd, poffset, pcount, ptype, ppid);
do_log(SMB_VFS_OP_GETLOCK, (result >= 0), handle, "%s", fsp->fsp_name);
do_log(SMB_VFS_OP_GETLOCK, result, handle, "%s", fsp->fsp_name);
return result;
}