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 99d691b1ca..5d26c13b3f 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 5d9386b6c0..0eb6c9414c 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -2091,7 +2091,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;