diff options
-rw-r--r-- | src/remove.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/remove.c b/src/remove.c index 7a6585bd1..6d5a61b33 100644 --- a/src/remove.c +++ b/src/remove.c @@ -720,8 +720,10 @@ remove_dir (struct File_spec *fs, int need_save_cwd, const struct rm_options *x) if (x->interactive) { - error (0, 0, _("remove directory `%s'%s? "), full_filename (dir_name), - (status != RM_OK ? _(" (might be nonempty)") : "")); + fprintf (stderr, _("%s: remove directory `%s'%s? "), + program_name, + full_filename (dir_name), + (status != RM_OK ? _(" (might be nonempty)") : "")); if (!yesno ()) { return RM_USER_DECLINED; |