diff options
author | Miles Bader <miles@gnu.org> | 1995-08-29 18:34:06 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-08-29 18:34:06 +0000 |
commit | 9917964b0cc77c98f48394e6a3c28317ec0d6211 (patch) | |
tree | 987003ab889b250b24da5444e05d9053c20ddf25 | |
parent | 1900f52a01791e81732fc6cfc2d12217820facc6 (diff) |
(sock_acquire_read_pipe, sock_acquire_write_pipe): `aquire' -> `acquire'.
-rw-r--r-- | pflocal/sock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pflocal/sock.c b/pflocal/sock.c index 35c8a70d..79786055 100644 --- a/pflocal/sock.c +++ b/pflocal/sock.c @@ -36,7 +36,7 @@ case where the read should signal EOF, EPIPE is returned. SOCK mustn't be locked. */ error_t -sock_aquire_read_pipe (struct sock *sock, struct pipe **pipe) +sock_acquire_read_pipe (struct sock *sock, struct pipe **pipe) { error_t err = 0; debug (sock, "in"); @@ -52,7 +52,7 @@ sock_aquire_read_pipe (struct sock *sock, struct pipe **pipe) && !(sock->flags & SOCK_CONNECTED)) err = ENOTCONN; else - pipe_aquire_reader (*pipe); + pipe_acquire_reader (*pipe); else if (sock->flags & SOCK_SHUTDOWN_READ) /* Reading on a socket with the read-half shutdown always acts as if the pipe were at eof, even if the socket isn't connected yet [at least in @@ -76,7 +76,7 @@ sock_aquire_read_pipe (struct sock *sock, struct pipe **pipe) 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) +sock_acquire_write_pipe (struct sock *sock, struct pipe **pipe) { error_t err = 0; debug (sock, "in"); @@ -85,7 +85,7 @@ debug (sock, "lock"); mutex_lock (&sock->lock); *pipe = sock->write_pipe; if (*pipe != NULL) - pipe_aquire_writer (*pipe); /* Do this before unlocking the sock! */ + pipe_acquire_writer (*pipe); /* Do this before unlocking the sock! */ else if (sock->flags & SOCK_SHUTDOWN_WRITE) /* Writing on a socket with the write-half shutdown always acts as if the pipe were broken, even if the socket isn't connected yet [at least in |