summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-20 12:41:13 +0000
committerJim Meyering <jim@meyering.net>2000-05-20 12:41:13 +0000
commit15ecc0f435097bc593ac01143c6e63ad0f7101a3 (patch)
tree51084c441c871d26d1bfc0afe90eecda6cc29acc /src/remove.c
parentb34c9d22e4d9162cfb9618a4bb6fdaa12045fb71 (diff)
downloadcoreutils-15ecc0f435097bc593ac01143c6e63ad0f7101a3.tar.xz
tweak warning diagnostic
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/remove.c b/src/remove.c
index a2eb6119d..593feba1c 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -740,10 +740,10 @@ remove_dir (struct File_spec *fs, int need_save_cwd, const struct rm_options *x)
if (!SAME_INODE (sb, *fs))
{
error (EXIT_FAILURE, 0,
- _("ERROR: the directory `%s' initially had inode number %lu,\n\
-but now (after a chdir into it), the inode number of `.' is %lu.\n\
-That means the directory was replaced with either another directory\n\
-or a link to another directory."),
+ _("ERROR: the directory `%s' initially had device/inode\n\
+numbers %lu/%lu, but now (after a chdir into it), the numbers for `.'\n\
+are %lu/%lu. That means that while rm was running, the directory\n\
+was replaced with either another directory or a link to another directory."),
full_filename (dir_name),
(unsigned long)(fs->st_ino),
(unsigned long)(sb.st_ino));