summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-06-07 13:59:29 (GMT)
committerGuido van Rossum <guido@python.org>1991-06-07 13:59:29 (GMT)
commit971443b7d46f82f24412560934e9baeefaa094bc (patch)
tree227f62b97a84b9f1ed3140d9838b501b2e561028 /Modules/posixmodule.c
parent56b07c8ad98d9bc410e08151b9d0bbb900722f01 (diff)
downloadcpython-971443b7d46f82f24412560934e9baeefaa094bc.zip
cpython-971443b7d46f82f24412560934e9baeefaa094bc.tar.gz
cpython-971443b7d46f82f24412560934e9baeefaa094bc.tar.bz2
Getpgrp() has a parameter, at least on BSD!
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 9af13b9..567d706 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -527,7 +527,7 @@ posix_getpgrp(self, args)
{
if (!getnoarg(args))
return NULL;
- return newintobject((long)getpgrp());
+ return newintobject((long)getpgrp(0));
}
static object *