summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorKent R. Spillner <kspillner@cvs.openbsd.org>2015-03-03 01:13:42 +0000
committerKent R. Spillner <kspillner@cvs.openbsd.org>2015-03-03 01:13:42 +0000
commit4234e4e7d39515ebb330f90483d9b8952820da42 (patch)
treefe8325c73e4df660e684b02c12dc763a54c3311d /lib/libc/sys
parentdaea68dfaee2d61a5f55e612a2810a39deb0658c (diff)
Fix variable name typo in IDIOMS.
ok millert@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/poll.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2
index 3281653563b..5742677e18c 100644
--- a/lib/libc/sys/poll.2
+++ b/lib/libc/sys/poll.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: poll.2,v 1.30 2015/03/02 21:17:00 millert Exp $
+.\" $OpenBSD: poll.2,v 1.31 2015/03/03 01:13:41 kspillner Exp $
.\"
.\" Copyright (c) 1994 Jason R. Thorpe
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\"
-.Dd $Mdocdate: March 2 2015 $
+.Dd $Mdocdate: March 3 2015 $
.Dt POLL 2
.Os
.Sh NAME
@@ -282,7 +282,7 @@ This can be converted to
.Fn poll
as follows:
.Bd -literal -offset indent
-struct pollfd pdf[1];
+struct pollfd pfd[1];
char buf[BUFSIZ];
int nready;