From: Richard W.M. Jones Date: Fri, 1 Apr 2011 08:53:44 +0000 (+0100) Subject: fish: Fix incorrect path passed to perror. X-Git-Tag: 1.9.15~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=decda45734563d4f7d61355dcaf9318091250f37;p=libguestfs.git fish: Fix incorrect path passed to perror. Fix commit b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef. --- diff --git a/fish/config.c b/fish/config.c index c92bc4e..c1d34fb 100644 --- a/fish/config.c +++ b/fish/config.c @@ -116,7 +116,7 @@ parse_config (void) } if (fclose (fp) == -1) { - perror (path); + perror (etc_filename); exit (EXIT_FAILURE); }