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