From bc26cb06ebb83cfd49d077d9c94c8ccfd0bb3aa8 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Wed, 24 Mar 1999 19:54:44 +0000 Subject: [PATCH] Fix filename in error message. Patch from Meelis Roos --- hostname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hostname.c b/hostname.c index b9c1c7f..3c31110 100644 --- a/hostname.c +++ b/hostname.c @@ -206,7 +206,7 @@ static void setfilename(char *name, int what) (void) fclose(fd); } else { fprintf(stderr, _("%s: can't open `%s'\n"), - program_name, optarg); + program_name, name); exit(1); } } -- 2.7.4