aboutsummaryrefslogtreecommitdiffstats
path: root/man2/syscall.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-12-10 10:06:24 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-12-10 12:22:35 +0100
commit698b2f349f97dc93547f5181e71bbacdfec6edef (patch)
tree29a592adfffce74fa6cb92cbddb7003b7ed384fc /man2/syscall.2
parentd1902a5280f03fff98c95a0bda134dca27ea82e5 (diff)
downloadman-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.22
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