Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorKuba Sejdak <jakub.sejdak@phoesys.com>2016-06-24 15:14:49 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-06-27 14:23:34 +0300
commite5e0bd38d2c62cdb06d143c547a6d80f5ac6a941 (patch)
tree6d329e91995836000bad5def1089e55aa01e65d4 /newlib
parentab92a06cd42a2d0a0daf66880cb9e56377c28363 (diff)
Phoenix-RTOS: Fix warning with pointer treated as integer.
Diffstat (limited to 'newlib')
-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;
}