summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
diff options
context:
space:
mode:
authorvikram <none@none>2007-01-18 13:37:08 -0800
committervikram <none@none>2007-01-18 13:37:08 -0800
commit49e92448e558772c002444c0d92e7a31d529d046 (patch)
tree7b94e27cf3cd12b5392a5d30c228f4c10e66be53 /usr/src/lib/libc
parentc7ce59f142277983e66b3701901be4f1c31e57c8 (diff)
downloadillumos-joyent-49e92448e558772c002444c0d92e7a31d529d046.tar.gz
6445040 add_drv/update_drv/rem_drv should use advisory record locking
6467524 Add a check to /dev/pts code to test for realvp 6509851 change name of PT_OWNER ioctl to OWNERPT
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r--usr/src/lib/libc/port/gen/pt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libc/port/gen/pt.c b/usr/src/lib/libc/port/gen/pt.c
index 86bcd319c3..1272c947eb 100644
--- a/usr/src/lib/libc/port/gen/pt.c
+++ b/usr/src/lib/libc/port/gen/pt.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -156,7 +156,7 @@ grantpt(int fd)
else
pto.pto_rgid = getgid();
- istr.ic_cmd = PT_OWNER;
+ istr.ic_cmd = OWNERPT;
istr.ic_len = sizeof (pt_own_t);
istr.ic_timout = 0;
istr.ic_dp = (char *)&pto;