diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-12-10 10:06:24 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-12-10 12:22:35 +0100 |
| commit | 698b2f349f97dc93547f5181e71bbacdfec6edef (patch) | |
| tree | 29a592adfffce74fa6cb92cbddb7003b7ed384fc /man2/syscall.2 | |
| parent | d1902a5280f03fff98c95a0bda134dca27ea82e5 (diff) | |
| download | man-pages-698b2f349f97dc93547f5181e71bbacdfec6edef.tar.gz | |
syscall.2: Minor fix in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/syscall.2')
| -rw-r--r-- | man2/syscall.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/syscall.2 b/man2/syscall.2 index 811083f407..fcb0a7e212 100644 --- a/man2/syscall.2 +++ b/man2/syscall.2 @@ -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 |
