aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshfs.c b/sshfs.c
index 5ae54c5..a6e7bf2 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -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);