diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2004-12-31 18:34:33 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2004-12-31 18:34:33 +0000 |
commit | 23c5a96c95094779f3e546aff46c21ee3d71f285 (patch) | |
tree | 2dca03f68f0a17b261ff0ba4f02bcacab0765d8b | |
parent | 1fb2d49d4b8f62f9dfc1555a7a2d67c8217099c9 (diff) |
typos
-rw-r--r-- | lib/libc/sys/accept.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 1d3cb61d120..77323f155bd 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: accept.2,v 1.16 2004/12/31 18:31:15 matthieu Exp $ +.\" $OpenBSD: accept.2,v 1.17 2004/12/31 18:34:32 matthieu Exp $ .\" $NetBSD: accept.2,v 1.7 1996/01/31 20:14:42 mycroft Exp $ .\" .\" Copyright (c) 1983, 1990, 1991, 1993 @@ -142,8 +142,8 @@ struct sockaddr_storage addr; socklen_t len = sizeof(addr); int retcode; -retcode = accept(s, (struct sockaddr *)&addr, &len) -if ( etcode < 0) +retcode = accept(s, (struct sockaddr *)&addr, &len); +if (retcode < 0) errx(1, "accept"); .Ed .Sh ERRORS |