This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 3/9] Phoenix-RTOS: Fix warning with pointer treated as integer.
- From: Jakub Sejdak <jakub dot sejdak at phoesys dot com>
- To: newlib at sourceware dot org
- Cc: Kuba Sejdak <jakub dot sejdak at phoesys dot com>
- Date: Fri, 24 Jun 2016 14:14:49 +0200
- Subject: [PATCH 3/9] Phoenix-RTOS: Fix warning with pointer treated as integer.
- Authentication-results: sourceware.org; auth=none
- References: <1466770495-3213-1-git-send-email-jakub dot sejdak at phoesys dot com>
From: Kuba Sejdak <jakub.sejdak@phoesys.com>
---
newlib/libc/sys/phoenix/groups.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/newlib/libc/sys/phoenix/groups.c b/newlib/libc/sys/phoenix/groups.c
index 11cc079..b231475 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;
}
--
2.7.4