diff options
author | Kuba Sejdak <jakub.sejdak@phoesys.com> | 2016-06-24 15:14:49 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-06-27 14:23:34 +0300 |
commit | e5e0bd38d2c62cdb06d143c547a6d80f5ac6a941 (patch) | |
tree | 6d329e91995836000bad5def1089e55aa01e65d4 /newlib | |
parent | ab92a06cd42a2d0a0daf66880cb9e56377c28363 (diff) |
Phoenix-RTOS: Fix warning with pointer treated as integer.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/sys/phoenix/groups.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |