diff options
author | Will Stamper <epmatsw@gmail.com> | 2014-06-08 13:30:44 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-06-12 20:26:35 -0400 |
commit | 5b3b3fd3ed4372866730ae857e8c09d6e5d1167d (patch) | |
tree | e339a78f58924c5001633c394078d1c21669f09a /src/nvim/os/fs.c | |
parent | 168575f3f73f79185db0abdb91be364c0d0f29f9 (diff) | |
download | rneovim-5b3b3fd3ed4372866730ae857e8c09d6e5d1167d.tar.gz rneovim-5b3b3fd3ed4372866730ae857e8c09d6e5d1167d.tar.bz2 rneovim-5b3b3fd3ed4372866730ae857e8c09d6e5d1167d.zip |
spelling fixes #827
Diffstat (limited to 'src/nvim/os/fs.c')
-rw-r--r-- | src/nvim/os/fs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index bdf20f22eb..48bc75cb8e 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -148,7 +148,7 @@ static bool is_executable_in_path(const char_u *name) /// Get stat information for a file. /// -/// @return OK on success, FAIL if an failure occured. +/// @return OK on success, FAIL if a failure occurred. int os_stat(const char_u *name, uv_stat_t *statbuf) { uv_fs_t request; @@ -299,7 +299,7 @@ int os_remove(const char *path) /// /// @param file_descriptor File descriptor of the file. /// @param[out] file_info Pointer to a FileInfo to put the information in. -/// @return `true` on sucess, `false` for failure. +/// @return `true` on success, `false` for failure. bool os_get_file_info(const char *path, FileInfo *file_info) { if (os_stat((char_u *)path, &(file_info->stat)) == OK) { @@ -312,7 +312,7 @@ bool os_get_file_info(const char *path, FileInfo *file_info) /// /// @param path Path to the file. /// @param[out] file_info Pointer to a FileInfo to put the information in. -/// @return `true` on sucess, `false` for failure. +/// @return `true` on success, `false` for failure. bool os_get_file_info_link(const char *path, FileInfo *file_info) { uv_fs_t request; @@ -329,7 +329,7 @@ bool os_get_file_info_link(const char *path, FileInfo *file_info) /// /// @param file_descriptor File descriptor of the file. /// @param[out] file_info Pointer to a FileInfo to put the information in. -/// @return `true` on sucess, `false` for failure. +/// @return `true` on success, `false` for failure. bool os_get_file_info_fd(int file_descriptor, FileInfo *file_info) { uv_fs_t request; |