From e5e0bd38d2c62cdb06d143c547a6d80f5ac6a941 Mon Sep 17 00:00:00 2001 From: Kuba Sejdak Date: Fri, 24 Jun 2016 14:14:49 +0200 Subject: [PATCH] Phoenix-RTOS: Fix warning with pointer treated as integer. --- 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 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; } -- 2.43.5