From 6d77b155bcd4725e09837604e6ea86f5f124ba9c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Dec 2023 20:10:48 +0100 Subject: Third commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- testutil/strerror-all.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'testutil/strerror-all.c') diff --git a/testutil/strerror-all.c b/testutil/strerror-all.c index b875392..75a3d77 100644 --- a/testutil/strerror-all.c +++ b/testutil/strerror-all.c @@ -6,10 +6,17 @@ int -main(void) +main(int argc, char **argv) { size_t i, count; + (void) argv; + + if (argc != 1) { + fprintf(stderr, "usage error\n"); + return 3; + } + #define X(...) 1 count = (LIBSYSCALLS_LIST_ERRORS(X, +)); #undef X -- cgit v1.2.3-70-g09d2