summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuba Sejdak <jakub.sejdak@phoesys.com>2016-06-24 14:14:49 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-06-27 13:23:34 +0200
commite5e0bd38d2c62cdb06d143c547a6d80f5ac6a941 (patch)
tree6d329e91995836000bad5def1089e55aa01e65d4
parentab92a06cd42a2d0a0daf66880cb9e56377c28363 (diff)
downloadcygnal-e5e0bd38d2c62cdb06d143c547a6d80f5ac6a941.tar.gz
cygnal-e5e0bd38d2c62cdb06d143c547a6d80f5ac6a941.tar.bz2
cygnal-e5e0bd38d2c62cdb06d143c547a6d80f5ac6a941.zip
Phoenix-RTOS: Fix warning with pointer treated as integer.
-rw-r--r--newlib/libc/sys/phoenix/groups.c2
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;
}