summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-12 19:02:25 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-12 19:02:25 +0000
commitfd74d9dfff95c6cb463eef16878c683b36980242 (patch)
tree7939352fcc38500971d49f1d42e8a8e4734ab54a /term
parent21ceeb6faa3f896a600ac54e10b8aee5953d7867 (diff)
(S_tioctl_tiocgpgrp): Omit bogus extra attempt to lock global_lock.
Diffstat (limited to 'term')
-rw-r--r--term/users.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/term/users.c b/term/users.c
index c472f67c..eb56ee70 100644
--- a/term/users.c
+++ b/term/users.c
@@ -1341,8 +1341,6 @@ S_tioctl_tiocgpgrp (io_t port,
}
mutex_lock (&global_lock);
-
- mutex_lock (&global_lock);
if (termflags & NO_OWNER)
ret = ENOTTY; /* that's what BSD says... */
else