diff options
Diffstat (limited to 'testutil/list-errors.c')
-rw-r--r-- | testutil/list-errors.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/testutil/list-errors.c b/testutil/list-errors.c index 5738b06..365e091 100644 --- a/testutil/list-errors.c +++ b/testutil/list-errors.c @@ -6,8 +6,15 @@ int -main(void) +main(int argc, char **argv) { + (void) argv; + + if (argc != 1) { + fprintf(stderr, "usage error\n"); + return 3; + } + #define X(N, S)\ printf("%li %s %s\n", (long int)N, #N, S) LIBSYSCALLS_LIST_ERRORS(X, ;); |