diff options
-rw-r--r-- | smbnetfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smbnetfs.c b/smbnetfs.c index 727c7b735..f7cf23fb9 100644 --- a/smbnetfs.c +++ b/smbnetfs.c @@ -652,7 +652,7 @@ netfs_attempt_write (struct iouser * cred, struct node * np, loff_t offset, return errno; } mutex_lock (&smb_mutex); - ret = smbc_lseek (fd, offset, SEEK_SET) < 0; + ret = smbc_lseek (fd, offset, SEEK_SET); mutex_unlock (&smb_mutex); if ((ret < 0) || (ret != offset)) |