diff --git a/newlib/libc/sys/phoenix/groups.c b/newlib/libc/sys/phoenix/groups.c index 11cc079e4..b23147568 100644 --- a/newlib/libc/sys/phoenix/groups.c +++ b/newlib/libc/sys/phoenix/groups.c @@ -96,5 +96,5 @@ int setpgrp(pid_t pid, pid_t pgid) { /* TODO: implement. */ errno = ENOSYS; - return NULL; + return -1; }