From df8e07544f141aae696f4dc5b4ec8f5eb2227f16 Mon Sep 17 00:00:00 2001 From: Oneric Date: Sat, 7 May 2022 03:00:24 +0200 Subject: Avoid passing NULL to printf's %s if argc == 0 This is undefined behaviour even if most libcs handle it gracefully. --- test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test.c b/test/test.c index f1de28f..b9754c9 100644 --- a/test/test.c +++ b/test/test.c @@ -199,7 +199,7 @@ int main(int argc, char *argv[]) if (argc != 4 && argc != 6) { printf("usage: %s