From 32c34996596f4537fbd4e9745418e72bb5aeb6d7 Mon Sep 17 00:00:00 2001 From: girst Date: Sun, 4 Jun 2017 12:33:14 +0200 Subject: [PATCH] rename error message --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 4055294..7669227 100644 --- a/main.c +++ b/main.c @@ -58,7 +58,7 @@ int main (int argc, char** argv) { if (strcmp (argv [optind], "-") != 0) op.f = fopen (argv[optind], "rb"); if (op.f == NULL) { - fprintf (stderr, "Impossible to open the file %s: %s\n", argv[optind], strerror(errno)); + fprintf (stderr, "%s: %s: %s\n", argv[0], argv[optind], strerror(errno)); return 1; } } -- 2.39.3