From f47cb98b97e3740d7adb55fb4fe5f7163dbb4cd5 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sat, 28 Dec 2013 21:24:45 +0100 Subject: [PATCH] Fix wrong return type in getpgid(2) implementation. --- libc/unistd/getpgid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/unistd/getpgid.cpp b/libc/unistd/getpgid.cpp index 8935c2dc..236833b5 100644 --- a/libc/unistd/getpgid.cpp +++ b/libc/unistd/getpgid.cpp @@ -28,7 +28,7 @@ DEFN_SYSCALL1(pid_t, sys_getpgid, SYSCALL_GETPGID, pid_t); -extern "C" int getpgid(pid_t pid) +extern "C" pid_t getpgid(pid_t pid) { return sys_getpgid(pid); }