tests/pselect6.c: fix potential output mismatch
* tests/pselect6.c (main): In the last case of printing pselect6
syscall, print the last argument the same way as in other cases.
Reported-by: Steve McIntyre <steve@einval.com>
diff --git a/tests/pselect6.c b/tests/pselect6.c
index 358f9c6..49258a9 100644
--- a/tests/pselect6.c
+++ b/tests/pselect6.c
@@ -137,8 +137,9 @@
tm.ts.tv_nsec = 222222222;
assert(pselect(0, NULL, NULL, NULL, &tm.ts, &mask) == -1);
- puts("pselect6(0, NULL, NULL, NULL, {0, 222222222}, {[HUP CHLD], 8})"
- " = ? ERESTARTNOHAND (To be restarted if no handler)");
+ printf("pselect6(0, NULL, NULL, NULL, {0, 222222222}, {[HUP CHLD], %u})"
+ " = ? ERESTARTNOHAND (To be restarted if no handler)\n",
+ NSIG / 8);
puts("--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---");
puts("+++ exited with 0 +++");