summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>1994-11-01 16:14:50 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>1994-11-01 16:14:50 +0000
commitc1d4284f225b7f4a4e63d8ecfc62f47727671ee8 (patch)
treef0187ad17fd554118f7e7bf701f3494632313cb4 /zwgc
parent1a2be7a2eae19938909305ed64abf8454e9d42c2 (diff)
Oops, typo.
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zwgc/mux.c b/zwgc/mux.c
index 4031577..222dde9 100644
--- a/zwgc/mux.c
+++ b/zwgc/mux.c
@@ -199,7 +199,7 @@ static int check_tty()
if (tty < 0) return 0;
-#ifdef defined(POSIX) || defined(SUNOS)
+#if defined(POSIX) || defined(SUNOS)
result = ( ((pgrp = tcgetpgrp(tty)) < 0) ? 0 : 1 );
#else
result = ( (ioctl(tty, TIOCGPGRP, &pgrp) < 0) ? 0 : 1 );