summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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