[PATCH 15/18] os: fix spelling mistakes
Eric Engestrom
eric at engestrom.ch
Sat Apr 2 18:53:28 UTC 2016
Signed-off-by: Eric Engestrom <eric at engestrom.ch>
---
os/io.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/os/io.c b/os/io.c
index 19a449a..18f1497 100644
--- a/os/io.c
+++ b/os/io.c
@@ -338,7 +338,7 @@ ReadRequestFromClient(ClientPtr client)
/* save the data we've already read */
memmove(oci->buffer, oci->bufptr, gotnow);
if (needed > oci->size) {
- /* make buffer bigger to accomodate request */
+ /* make buffer bigger to accommodate request */
char *ibuf;
ibuf = (char *) realloc(oci->buffer, needed);
@@ -358,7 +358,7 @@ ReadRequestFromClient(ClientPtr client)
* never get here in those circumstances.
*/
if (!oc->trans_conn) {
- /* treat as if an error occured on the read, which is what
+ /* treat as if an error occurred on the read, which is what
* used to happen
*/
YieldControlDeath();
@@ -861,7 +861,7 @@ WriteToClient(ClientPtr who, int count, const void *__buf)
/********************
* FlushClient()
* If the client isn't keeping up with us, then we try to continue
- * buffering the data and set the apropriate bit in ClientsWritable
+ * buffering the data and set the appropriate bit in ClientsWritable
* (which is used by WaitFor in the select). If the connection yields
* a permanent error, or we can't allocate any more space, we then
* close the connection.
--
2.8.0
More information about the xorg-devel
mailing list