Module Name: src
Committed By: apb
Date: Fri Oct 19 10:44:34 UTC 2012
Modified Files:
src/lib/libc/stdlib: ptsname.3
Log Message:
Use the correct field name when describing the equivalence between
ptsname(3) and ioctl TIOCPTSNAME. It should be pm.sn, not pm.ps.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/stdlib/ptsname.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdlib/ptsname.3
diff -u src/lib/libc/stdlib/ptsname.3:1.5 src/lib/libc/stdlib/ptsname.3:1.6
--- src/lib/libc/stdlib/ptsname.3:1.5 Wed Apr 30 13:10:51 2008
+++ src/lib/libc/stdlib/ptsname.3 Fri Oct 19 10:44:34 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: ptsname.3,v 1.5 2008/04/30 13:10:51 martin Exp $
+.\" $NetBSD: ptsname.3,v 1.6 2012/10/19 10:44:34 apb Exp $
.\"
.\" Copyright (c) 2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -85,7 +85,7 @@ The
function is equivalent to:
.Bd -literal
struct ptmget pm;
- return ioctl(masterfd, TIOCPTSNAME, \*[Am]pm) == -1 ? NULL : pm.ps;
+ return ioctl(masterfd, TIOCPTSNAME, \*[Am]pm) == -1 ? NULL : pm.sn;
.Ed
.Sh SEE ALSO
.Xr ioctl 2 ,