summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-11 15:10:37 -0800
committerJeremy Allison <jra@samba.org>2007-12-11 15:10:37 -0800
commitec7426d917f9029052748d2271c5c071a13feb78 (patch)
tree5b6610ba9eb00a25759ac5eaf4456bedca9457cd /source3/modules
parent95c2f313cef37680fee47b2fc4d1bf15929ad6e7 (diff)
downloadsamba-ec7426d917f9029052748d2271c5c071a13feb78.tar.gz
samba-ec7426d917f9029052748d2271c5c071a13feb78.tar.bz2
samba-ec7426d917f9029052748d2271c5c071a13feb78.zip
Fix warning message about data type always true.
Jeremy. (This used to be commit 0a3be0aad7220eb97fe39460e20f36c8ae9ce474)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_full_audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 533ac712ca..f4aeefbbf0 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -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;
}