diff options
-rw-r--r-- | libpipe/pipe.c | 2 | ||||
-rw-r--r-- | pflocal/sock.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libpipe/pipe.c b/libpipe/pipe.c index 413b4ec2..ce38cb6a 100644 --- a/libpipe/pipe.c +++ b/libpipe/pipe.c @@ -81,7 +81,7 @@ pipe_kick (struct pipe *pipe) mutex_lock (&pipe->lock); /* Get back the lock on PIPE. */ } -/* Take any actions necessary when PIPE aquires its first writer. */ +/* Take any actions necessary when PIPE acquires its first writer. */ void _pipe_first_writer (struct pipe *pipe) { if (! (pipe->class->flags & PIPE_CLASS_CONNECTIONLESS)) diff --git a/pflocal/sock.h b/pflocal/sock.h index 16fdbe4a..23528480 100644 --- a/pflocal/sock.h +++ b/pflocal/sock.h @@ -89,12 +89,12 @@ struct sock additional reference, or an error saying why it's not possible. NULL may also be returned in PIPE with a 0 error, meaning that EOF should be returned. SOCK mustn't be locked. */ -error_t sock_aquire_read_pipe (struct sock *sock, struct pipe **pipe); +error_t sock_acquire_read_pipe (struct sock *sock, struct pipe **pipe); /* Returns the pipe that SOCK is writing to in PIPE, locked and with an additional reference, or an error saying why it's not possible. SOCK mustn't be locked. */ -error_t sock_aquire_write_pipe (struct sock *sock, struct pipe **pipe); +error_t sock_acquire_write_pipe (struct sock *sock, struct pipe **pipe); /* Connect together the previously unconnected sockets SOCK1 and SOCK2. */ error_t sock_connect (struct sock *sock1, struct sock *sock2); |