aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index f7c87b7608d..74b02b0af27 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2919,7 +2919,7 @@ static void
2919dissociate_if_controlling_tty (int fd) 2919dissociate_if_controlling_tty (int fd)
2920{ 2920{
2921#ifndef DOS_NT 2921#ifndef DOS_NT
2922 int pgid = tcgetpgrp (fd); /* If tcgetpgrp succeeds, fd is the ctty. */ 2922 pid_t pgid = tcgetpgrp (fd); /* If tcgetpgrp succeeds, fd is the ctty. */
2923 if (pgid != -1) 2923 if (pgid != -1)
2924 { 2924 {
2925#if defined (USG5) 2925#if defined (USG5)