Fix wrong return type in getpgid(2) implementation.
This commit is contained in:
parent
93778ef5da
commit
f47cb98b97
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
DEFN_SYSCALL1(pid_t, sys_getpgid, SYSCALL_GETPGID, pid_t);
|
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);
|
return sys_getpgid(pid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue