summaryrefslogtreecommitdiff
path: root/test/setjmp/tst-vfork-longjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/setjmp/tst-vfork-longjmp.c')
-rw-r--r--test/setjmp/tst-vfork-longjmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/setjmp/tst-vfork-longjmp.c b/test/setjmp/tst-vfork-longjmp.c
index 644379245..d396f621f 100644
--- a/test/setjmp/tst-vfork-longjmp.c
+++ b/test/setjmp/tst-vfork-longjmp.c
@@ -80,7 +80,7 @@ int main(int argc, char *argv[])
verbose = 0;
max = 10;
- /* test vfork() instead of sigsetjmp/siglongjmp */
+ /* test vfork()/exec() inside of sigsetjmp/siglongjmp */
cnt = 0;
sigsetjmp(sigenv, 1);
++cnt;
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
if (cnt < max)
siglongjmp(sigenv, 0);
- /* test vfork() inside of setjmp/longjmp */
+ /* test vfork()/sigprocmask() inside of setjmp/longjmp */
cnt = 0;
setjmp(env);
++cnt;