diff options
-rw-r--r-- | ChangeLog.rst | 5 | ||||
-rw-r--r-- | sshfs.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst index 1563ea5..368d2cd 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,8 @@ +Unreleased Changes +------------------ + +* Fixed error code returned by rename(), allowing proper fallback. + Release 3.4.0 (2018-06-29) -------------------------- @@ -2316,7 +2316,7 @@ static int sshfs_rename(const char *from, const char *to, unsigned int flags) int err; if(flags != 0) - return EINVAL; + return -EINVAL; if (sshfs.ext_posix_rename) err = sshfs_ext_posix_rename(from, to); |