aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/grantpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/grantpt.c')
-rw-r--r--sysdeps/unix/grantpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/grantpt.c b/sysdeps/unix/grantpt.c
index f24932b64b..a6fa6f912b 100644
--- a/sysdeps/unix/grantpt.c
+++ b/sysdeps/unix/grantpt.c
@@ -116,7 +116,7 @@ grantpt (int fd)
uid = __getuid ();
if (st.st_uid != uid)
{
- if (INTUSE(__chown) (buf, uid, st.st_gid) < 0)
+ if (__chown (buf, uid, st.st_gid) < 0)
goto helper;
}
@@ -132,7 +132,7 @@ grantpt (int fd)
/* Make sure the group of the device is that special group. */
if (st.st_gid != gid)
{
- if (INTUSE(__chown) (buf, uid, gid) < 0)
+ if (__chown (buf, uid, gid) < 0)
goto helper;
}