mirror of https://github.com/mkerrisk/man-pages
syscall.2: Minor fix in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d1902a5280
commit
698b2f349f
|
@ -296,7 +296,7 @@ main(int argc, char *argv[])
|
|||
pid_t tid;
|
||||
|
||||
tid = syscall(SYS_gettid);
|
||||
tid = syscall(SYS_tgkill, getpid(), tid, SIGHUP);
|
||||
syscall(SYS_tgkill, getpid(), tid, SIGHUP);
|
||||
}
|
||||
.fi
|
||||
.SH SEE ALSO
|
||||
|
|
Loading…
Reference in New Issue