summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-08-15 22:10:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-20 18:36:33 +0200
commitc0eaf0fad88f15c843098a43ca2cadbf009ce094 (patch)
tree7b129c5055ded1aa400d34409d64bbab363b3e9e /pflocal
parent5a3976828225947d333ff2326d04f8b20e48e072 (diff)
fix common misspellings
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/pf.c2
-rw-r--r--pflocal/socket.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pflocal/pf.c b/pflocal/pf.c
index 852aabbb6..32c12e172 100644
--- a/pflocal/pf.c
+++ b/pflocal/pf.c
@@ -114,7 +114,7 @@ S_socket_fabricate_address (mach_port_t pf,
}
/* Implement socket_whatis_address as described in <hurd/socket.defs>.
- Since we cannot tell what our adress is, return an empty string as
+ Since we cannot tell what our address is, return an empty string as
the file name. This is primarily for the implementation of accept
and recvfrom. The functions getsockname and getpeername remain
unsupported for the local namespace. */
diff --git a/pflocal/socket.c b/pflocal/socket.c
index c5c4e1dfa..faa9951d9 100644
--- a/pflocal/socket.c
+++ b/pflocal/socket.c
@@ -309,7 +309,7 @@ S_socket_send (struct sock_user *user, struct addr *dest_addr, int flags,
if (dest_sock)
/* Grab the destination socket's read pipe directly, and stuff data
into it. This is not quite the usage sock_acquire_read_pipe was
- intended for, but it will work, as the only inappropiate errors
+ intended for, but it will work, as the only inappropriate errors
occur on a broken pipe, which shouldn't be possible with the sort of
sockets with which we can use socket_send... XXXX */
err = sock_acquire_read_pipe (dest_sock, &pipe);