diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2001-10-11 07:58:26 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2001-10-11 07:58:26 +0000 |
commit | 5bc73e0e6b54183611ef27e1a09eb5afcc5cd709 (patch) | |
tree | 97e02bcffff92ec31c09c73fc1744b172a97b978 /compose.c | |
parent | 2d5042e646a8e3d5ef103a22f67d8e9678ae514b (diff) |
Unify "Can't stat" messages. Suggested by Byrial.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -981,9 +981,9 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ if (mutt_get_field (_("Rename to: "), fname, sizeof (fname), M_FILE) == 0 && fname[0]) { - if(stat(idx[menu->current]->content->filename, &st) == -1) + if (stat(idx[menu->current]->content->filename, &st) == -1) { - mutt_error (_("Can't stat: %s"), fname); + mutt_error (_("Can't stat %s: %s"), fname, strerror (errno)); break; } |