summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-10 14:27:45 +0000
committerJim Meyering <jim@meyering.net>2004-05-10 14:27:45 +0000
commit0837deb037b279da65de71fe6aeb74bcad20e931 (patch)
treefb035437af3b1195ab6073e10e81889444052243
parentbd0ebda8dbe59a0712de653307caa636a8e5b7e9 (diff)
downloadcoreutils-0837deb037b279da65de71fe6aeb74bcad20e931.tar.xz
(AD_push): Don't use errno in diagnostic about `changed dev/ino'.
-rw-r--r--src/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c
index ddd634e2a..a5beceed1 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -485,7 +485,7 @@ AD_push (Dirstack_state *ds, char const *dir,
_("cannot lstat `.' in %s"), quote (full_filename (".")));
if ( ! SAME_INODE (sb, *dir_sb_from_parent))
- error (EXIT_FAILURE, errno,
+ error (EXIT_FAILURE, 0,
_("%s changed dev/ino"), quote (full_filename (".")));
/* Extend the stack. */