aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 6b8b483cdf7..50d1968200d 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2114,7 +2114,7 @@ dissociate_controlling_tty (void)
2114 child that has not execed. 2114 child that has not execed.
2115 I wonder: would just ioctl (fd, TIOCNOTTY, 0) work here, for 2115 I wonder: would just ioctl (fd, TIOCNOTTY, 0) work here, for
2116 some fd that the caller already has? */ 2116 some fd that the caller already has? */
2117 int ttyfd = emacs_open (DEV_TTY, O_RDWR, 0); 2117 int ttyfd = emacs_open (dev_tty, O_RDWR, 0);
2118 if (0 <= ttyfd) 2118 if (0 <= ttyfd)
2119 { 2119 {
2120 ioctl (ttyfd, TIOCNOTTY, 0); 2120 ioctl (ttyfd, TIOCNOTTY, 0);