fish: Fix incorrect path passed to perror.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 1 Apr 2011 08:53:44 +0000 (09:53 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 1 Apr 2011 08:53:44 +0000 (09:53 +0100)
Fix commit b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.

fish/config.c

index c92bc4e..c1d34fb 100644 (file)
@@ -116,7 +116,7 @@ parse_config (void)
     }
 
     if (fclose (fp) == -1) {
-      perror (path);
+      perror (etc_filename);
       exit (EXIT_FAILURE);
     }