From 6f6c4529917ef69a1eeb1491eed745fbb90f46b7 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 5 Nov 2020 20:49:45 +0900 Subject: [PATCH] testing/ostest/signest.c: Fix a printf warning error: too many arguments for format [-Werror=format-extra-args] --- testing/ostest/signest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/ostest/signest.c b/testing/ostest/signest.c index f7a15938f..3548ee647 100644 --- a/testing/ostest/signest.c +++ b/testing/ostest/signest.c @@ -167,7 +167,8 @@ static int waiter_main(int argc, char *argv[]) ret = sigaction(i, &act, NULL); if (ret < 0) { - printf("waiter_main: WARNING sigaction failed\n" , errno); + printf("waiter_main: WARNING sigaction failed with %d\n", + errno); return EXIT_FAILURE; } }