From a7b27f0d6ad57fa65e71306a44d7f76cbe795de5 Mon Sep 17 00:00:00 2001 From: DTB Date: Mon, 29 Jul 2024 11:14:48 -0600 Subject: [PATCH] strcmp(1): interpret all retvals --- src/strcmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strcmp.c b/src/strcmp.c index 16ec3ca..7f5f0ed 100644 --- a/src/strcmp.c +++ b/src/strcmp.c @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) { int i; if (argc < 3) { - fprintf( + (void)fprintf( stderr, "Usage: %s string string...\n", argv[0] == NULL ? program_name : argv[0]