summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-10-11 07:58:26 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-10-11 07:58:26 +0000
commit5bc73e0e6b54183611ef27e1a09eb5afcc5cd709 (patch)
tree97e02bcffff92ec31c09c73fc1744b172a97b978 /compose.c
parent2d5042e646a8e3d5ef103a22f67d8e9678ae514b (diff)
Unify "Can't stat" messages. Suggested by Byrial.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compose.c b/compose.c
index 0e7f6480..8fe760ed 100644
--- a/compose.c
+++ b/compose.c
@@ -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;
}