aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-mt.c2
-rw-r--r--mail/mail-ops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index a70093e855..566d5ecd6f 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -111,7 +111,7 @@ mail_msg_new (MailMsgInfo *info)
fprintf(log, "%" G_GINT64_MODIFIER "x: lock mail_msg_lock\n", e_util_pthread_id(pthread_self()));
}
} else {
- g_warning ("Could not open log file: %s", strerror(errno));
+ g_warning ("Could not open log file: %s", g_strerror(errno));
log_ops = log_locks = FALSE;
}
}
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index b8e442102f..939d3d2dd8 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2104,7 +2104,7 @@ save_messages_exec (struct _save_messages_msg *m)
|| camel_data_wrapper_write_to_stream((CamelDataWrapper *)message, (CamelStream *)filtered_stream) == -1
|| camel_stream_flush((CamelStream *)filtered_stream) == -1) {
camel_exception_setv(&m->base.ex, CAMEL_EXCEPTION_SYSTEM,
- _("Error saving messages to: %s:\n %s"), m->path, strerror(errno));
+ _("Error saving messages to: %s:\n %s"), m->path, g_strerror(errno));
g_free(from);
camel_object_unref((CamelObject *)message);
break;