diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-06-06 11:02:11 -0400 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-06-06 11:02:11 -0400 |
commit | fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3 (patch) | |
tree | 77abcce59ae86d7dc144b3e8e1a72ef8b8a3f2b1 | |
parent | 132dd88755a115e2c44cea1a8c68009e59b994a3 (diff) | |
download | sshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.tar sshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.tar.gz sshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.tar.bz2 sshfs-fe3ce10ff86a8ede842dc4a4f2c08b351a4257a3.zip |
Fixed compiler warning
-rw-r--r-- | sshfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |