diff options
author | Michael Adam <obnox@samba.org> | 2008-01-07 16:38:23 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-07 16:38:23 +0100 |
commit | edd30e716fb5133b269ef82358e95d187a107870 (patch) | |
tree | e6697e60ec79a68b7a3761018a158aa749e9deea /source3/torture | |
parent | 299d24dbc1d2d8eb0b78800eb5a8643b10c80274 (diff) | |
download | samba-edd30e716fb5133b269ef82358e95d187a107870.tar.gz samba-edd30e716fb5133b269ef82358e95d187a107870.tar.bz2 samba-edd30e716fb5133b269ef82358e95d187a107870.zip |
Remove redundant parameter fd from SMB_VFS_LOCK().
Michael
(This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/cmd_vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/cmd_vfs.c b/source3/torture/cmd_vfs.c index 17028fefc2..fbf9c3c9e3 100644 --- a/source3/torture/cmd_vfs.c +++ b/source3/torture/cmd_vfs.c @@ -901,7 +901,7 @@ static NTSTATUS cmd_lock(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, c printf("lock: debug lock(fd=%d, op=%d, offset=%ld, count=%ld, type=%d))\n", fd, op, offset, count, type); - if ((ret = SMB_VFS_LOCK(vfs->files[fd], fd, op, offset, count, type)) == False) { + if ((ret = SMB_VFS_LOCK(vfs->files[fd], op, offset, count, type)) == False) { printf("lock: error=%d (%s)\n", errno, strerror(errno)); return NT_STATUS_UNSUCCESSFUL; } |