aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2017-06-06 11:02:11 -0400
committerNikolaus Rath <Nikolaus@rath.org>2017-06-06 11:02:11 -0400
commitfe3ce10ff86a8ede842dc4a4f2c08b351a4257a3 (patch)
tree77abcce59ae86d7dc144b3e8e1a72ef8b8a3f2b1
parent132dd88755a115e2c44cea1a8c68009e59b994a3 (diff)
downloadsshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.tar
sshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.tar.gz
sshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.tar.bz2
sshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.zip
Fixed compiler warning
-rw-r--r--sshfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sshfs.c b/sshfs.c
index bfa3346..7af8657 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -2563,7 +2563,8 @@ static int sshfs_fsync(const char *path, int isdatasync,
int err;
(void) isdatasync;
- if (err = sshfs_flush(path, fi))
+ err = sshfs_flush(path, fi);
+ if (err)
return err;
if (!sshfs.ext_fsync)