summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortjg <tjg>2000-05-25 14:52:47 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:18 +0100
commit94be82ae2c06b2e250584eb41a4ec4546e114a6f (patch)
treef29c9f159bd28a3555e46e5a0e20561ab0b7af55
parentba2b5321c58c1a7420c7d9d31c1226584537bcaa (diff)
fix buglet
-rw-r--r--proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 517d357..7d05272 100644
--- a/proto.h
+++ b/proto.h
@@ -79,7 +79,7 @@ extern char *sys_errlist[];
#else
/* BSD: fake it. */
#define setpgid(pid, pgrp) setpgrp(pid, pgrp)
-#define tcgetpgrp(fd, pgrp) ioctl((fd), TIOCGPGRP)
+#define tcgetpgrp(fd) ioctl((fd), TIOCGPGRP)
#define tcsetpgrp(fd, pgrp) ioctl((fd), TIOCSPGRP, &(pgrp))
#endif