]> Git Repo - qemu.git/commitdiff
linux-user: fix argument type declaration of rt_sigqueinfo() syscall
authorMiloš Stojanović <[email protected]>
Mon, 15 May 2017 14:59:45 +0000 (16:59 +0200)
committerRiku Voipio <[email protected]>
Mon, 29 May 2017 11:56:08 +0000 (14:56 +0300)
Change the type of the first argument of rt_sigqueinfo() from int to pid_t
in the syscall declaration to match specifications of the system call.

Proper spacing is added to satisfy checkpatch.pl.

Signed-off-by: Miloš Stojanović <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
linux-user/syscall.c

index de85bce167cf94d737b2324aa4abe95efc02c00c..3373853bb96a069a9b62acd000f70da84c15fc7f 100644 (file)
@@ -274,7 +274,7 @@ _syscall3(int, sys_getdents64, uint, fd, struct linux_dirent64 *, dirp, uint, co
 _syscall5(int, _llseek,  uint,  fd, ulong, hi, ulong, lo,
           loff_t *, res, uint, wh);
 #endif
-_syscall3(int,sys_rt_sigqueueinfo,int,pid,int,sig,siginfo_t *,uinfo)
+_syscall3(int, sys_rt_sigqueueinfo, pid_t, pid, int, sig, siginfo_t *, uinfo)
 _syscall3(int,sys_syslog,int,type,char*,bufp,int,len)
 #ifdef __NR_exit_group
 _syscall1(int,exit_group,int,error_code)
This page took 0.03751 seconds and 4 git commands to generate.