]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't let error uses in #if-0'd code trigger `make distcheck' failure.
authorJim Meyering <jim@meyering.net>
Sun, 28 Nov 2004 22:24:38 +0000 (22:24 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 28 Nov 2004 22:24:38 +0000 (22:24 +0000)
lib/chdir.c

index 56cbb24ce9540c81325070ad324fca63ecd52d5e..b531b10ecb166db852efa9d6cd3ae289cceaadef 100644 (file)
@@ -296,7 +296,8 @@ main (int argc, char *argv[])
       if (feof (stdin))
        exit (0);
 
-      error (EXIT_FAILURE, saved_errno, _("reading standard input"));
+      error (EXIT_FAILURE, saved_errno,
+            "reading standard input");
     }
   else if (len == 0)
     exit (0);
@@ -305,7 +306,8 @@ main (int argc, char *argv[])
     line[len-1] = '\0';
 
   if (rpl_chdir (line) != 0)
-    error (EXIT_FAILURE, errno, _("chdir failed: %s"), line);
+    error (EXIT_FAILURE, errno,
+          "chdir failed: %s", line);
 
   {
     /* Using `pwd' here makes sense only if it is a robust implementation,