summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-01 09:53:44 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-04-01 09:53:44 +0100
commitdecda45734563d4f7d61355dcaf9318091250f37 (patch)
treef111b3c34e9a3d93e36a612a66a61f4d96565d37
parentb5130936d870321d8dc28e4369122bd437cab89a (diff)
downloadlibguestfs-decda45734563d4f7d61355dcaf9318091250f37.tar.gz
libguestfs-decda45734563d4f7d61355dcaf9318091250f37.tar.xz
libguestfs-decda45734563d4f7d61355dcaf9318091250f37.zip
fish: Fix incorrect path passed to perror.
Fix commit b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.
-rw-r--r--fish/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/config.c b/fish/config.c
index c92bc4e2..c1d34fb4 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);
}