setpgrp() returns a pid_t, not an int.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20008 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
** Copyright 2002-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the Haiku License.
|
||||
*/
|
||||
/*
|
||||
* Copyright 2002-2007, Axel Dörfler, [email protected]. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
|
||||
|
||||
#include <syscalls.h>
|
||||
@@ -73,7 +73,7 @@ setpgid(pid_t process, pid_t group)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
pid_t
|
||||
setpgrp(void)
|
||||
{
|
||||
return setpgid(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user