(AD_push): Don't use errno in diagnostic about `changed dev/ino'.
authorJim Meyering <jim@meyering.net>
Mon, 10 May 2004 14:27:45 +0000 (14:27 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 10 May 2004 14:27:45 +0000 (14:27 +0000)
src/remove.c

index ddd634e2a730ed443c50a9f1762c5734ecb817c6..a5beceed1565bf36edcd1e0fe03c6497d4f7cfa1 100644 (file)
@@ -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.  */