Commit 7758a43b authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

sys_getpgid: fixed the syscall prototype since it actually has one argument.

Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 8863d8dd
......@@ -50,7 +50,7 @@ __NR_readlink 89 sys_readlink (const char *path, char *buf, int bufsize)
__NR_getgroups 115 sys_getgroups (int gsize, unsigned int *groups)
__NR_setresuid 117 sys_setresuid (int uid, int euid, int suid)
__NR_setresgid 119 sys_setresgid (int gid, int egid, int sgid)
__NR_getpgid 121 sys_getpgid (void)
__NR_getpgid 121 sys_getpgid (pid_t pid)
__NR_setfsuid 122 sys_setfsuid (int fsuid)
__NR_setfsgid 123 sys_setfsgid (int fsgid)
__NR_getsid 124 sys_getsid (void)
......
......@@ -286,7 +286,7 @@ static int dump_misc(struct parasite_dump_misc *args)
args->pid = sys_getpid();
args->sid = sys_getsid();
args->pgid = sys_getpgid();
args->pgid = sys_getpgid(0);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment