summaryrefslogtreecommitdiff
path: root/lib/chdir.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-11-28 22:24:38 +0000
committerJim Meyering <jim@meyering.net>2004-11-28 22:24:38 +0000
commitfd6af25d9ae36aff003421ad1e2b0102de61a903 (patch)
tree5e06ba9585e7dde134773b59a326cdf44e5d3e07 /lib/chdir.c
parentc272386d5dd143fb515a85965ae3762357749e18 (diff)
downloadcoreutils-fd6af25d9ae36aff003421ad1e2b0102de61a903.tar.xz
Don't let error uses in #if-0'd code trigger `make distcheck' failure.
Diffstat (limited to 'lib/chdir.c')
-rw-r--r--lib/chdir.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/chdir.c b/lib/chdir.c
index 56cbb24ce..b531b10ec 100644
--- a/lib/chdir.c
+++ b/lib/chdir.c
@@ -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,