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