summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPavel Roskin <prroskin@amazon.com>2016-01-14 16:32:09 +0000
committerPavel Roskin <plroskin@gmail.com>2016-01-14 08:47:50 -0800
commit964e860072cd4871481481d5b3ffa96abb1bac35 (patch)
tree10f00786ae0b59038feac3128ad073d248fbbd92 /common
parent380c0cd2e77ece844691c3a67b17debb1f514fd5 (diff)
downloadxrdp-proprietary-964e860072cd4871481481d5b3ffa96abb1bac35.tar.gz
xrdp-proprietary-964e860072cd4871481481d5b3ffa96abb1bac35.zip
Run through codespell
Diffstat (limited to 'common')
-rw-r--r--common/file.c4
-rw-r--r--common/os_calls.c2
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)
{