summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-03-13 23:35:43 +0000
committerJim Meyering <jim@meyering.net>1998-03-13 23:35:43 +0000
commit92da57a7be531b2a609f994fe0cfd7650ff57b97 (patch)
tree9730a2b9114e003f0f850198b738895357420357
parent4078ae8de819f0cbd0335e5f1d03be35ee87503e (diff)
downloadcoreutils-92da57a7be531b2a609f994fe0cfd7650ff57b97.tar.gz
Use `virtual memory exhausted' message, not
`Memory exhausted' to be consistent with the majority of other such messages. Say `removing all...', not `removing any...'.
-rw-r--r--src/remove.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/remove.c b/src/remove.c
index 125c5eaf5..08a58aefa 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -518,11 +518,11 @@ remove_cwd_entries (const struct rm_options *x)
ht = hash_initialize (HT_INITIAL_CAPACITY, NULL,
hash_pjw, hash_compare_strings);
if (ht == NULL)
- error (1, 0, _("Memory exhausted"));
+ error (1, 0, _("virtual memory exhausted"));
}
HASH_INSERT_NEW_ITEM (ht, entry_name, &fail);
if (fail)
- error (1, 0, _("Memory exhausted"));
+ error (1, 0, _("virtual memory exhausted"));
}
else
{
@@ -644,7 +644,7 @@ remove_dir (struct File_spec *fs, int need_save_cwd, const struct rm_options *x)
}
if (x->verbose)
- printf (_("removing any entries of directory %s\n"),
+ printf (_("removing all entries of directory %s\n"),
full_filename (dir_name));
/* Save cwd if needed. */
@@ -762,7 +762,7 @@ rm (struct File_spec *fs, int user_specified_name, const struct rm_options *x)
current_depth ()),
&fail);
if (fail)
- error (1, 0, _("Memory exhausted"));
+ error (1, 0, _("virtual memory exhausted"));
if (old_ent)
{