From b4d7c0892ef5b329476a6c3689585ca60ca2d8b0 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 2 May 2009 23:11:12 -0400 Subject: Bug 572977 – Use g_strerror() instead of strerror() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail/mail-mt.c | 2 +- mail/mail-ops.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mail') 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; -- cgit