From fd6af25d9ae36aff003421ad1e2b0102de61a903 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 28 Nov 2004 22:24:38 +0000 Subject: Don't let error uses in #if-0'd code trigger `make distcheck' failure. --- lib/chdir.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/chdir.c') 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, -- cgit v1.2.3-70-g09d2