diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/file.c | 4 | ||||
-rw-r--r-- | common/os_calls.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/file.c b/common/file.c index b51a37cc..9fd14c29 100644 --- a/common/file.c +++ b/common/file.c @@ -346,7 +346,7 @@ file_read_sections(int fd, struct list *names) /*****************************************************************************/ /* return error */ -/* this function should be prefered over file_read_sections because it can +/* this function should be preferred over file_read_sections because it can read any file size */ int APP_CC file_by_name_read_sections(const char *file_name, struct list *names) @@ -386,7 +386,7 @@ file_read_section(int fd, const char *section, /*****************************************************************************/ /* return error */ -/* this function should be prefered over file_read_section because it can +/* this function should be preferred over file_read_section because it can read any file size */ int APP_CC file_by_name_read_section(const char *file_name, const char *section, diff --git a/common/os_calls.c b/common/os_calls.c index 3e3a1683..6a8bf136 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1799,7 +1799,7 @@ g_file_read(int fd, char *ptr, int len) } /*****************************************************************************/ -/* write to file, returns the number of bytes writen or -1 on error */ +/* write to file, returns the number of bytes written or -1 on error */ int APP_CC g_file_write(int fd, char *ptr, int len) { |