Fix typo in error message
authorMike Kelly <mike@pair.com>
Fri, 16 Dec 2011 19:52:19 +0000 (14:52 -0500)
committerMiklos Szeredi <mszeredi@suse.cz>
Tue, 20 Dec 2011 14:33:58 +0000 (15:33 +0100)
s/FD_CLOESEC/FD_CLOEXEC/

sshfs.c

diff --git a/sshfs.c b/sshfs.c
index 22c1e2d..c5a2434 100644 (file)
--- a/sshfs.c
+++ b/sshfs.c
@@ -3554,7 +3554,7 @@ int main(int argc, char *argv[])
 
                res = fcntl(fuse_chan_fd(ch), F_SETFD, FD_CLOEXEC);
                if (res == -1)
-                       perror("WARNING: failed to set FD_CLOESEC on fuse device");
+                       perror("WARNING: failed to set FD_CLOEXEC on fuse device");
 
                fuse = fuse_new(ch, &args, cache_init(&sshfs_oper),
                                sizeof(struct fuse_operations), NULL);