diff options
-rw-r--r-- | addressbook/gui/component/e-book-shell-module-migrate.c | 2 | ||||
-rw-r--r-- | e-util/e-mktemp.c | 2 | ||||
-rw-r--r-- | mail/mail-mt.c | 2 | ||||
-rw-r--r-- | mail/mail-ops.c | 2 | ||||
-rw-r--r-- | plugins/ipod-sync/sync.c | 2 | ||||
-rw-r--r-- | plugins/sa-junk-plugin/em-junk-filter.c | 10 | ||||
-rw-r--r-- | tools/killev.c | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/addressbook/gui/component/e-book-shell-module-migrate.c b/addressbook/gui/component/e-book-shell-module-migrate.c index 9cb931dc09..e4e2c04098 100644 --- a/addressbook/gui/component/e-book-shell-module-migrate.c +++ b/addressbook/gui/component/e-book-shell-module-migrate.c @@ -1068,7 +1068,7 @@ migrate_pilot_data (const char *old_path, const char *new_path) n = fsync (fd1); if (n == -1) { - g_warning ("Failed to migrate %s: %s", dent, strerror (errno)); + g_warning ("Failed to migrate %s: %s", dent, g_strerror (errno)); g_unlink (filename); } diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c index 80bce49cce..ade1abc0b4 100644 --- a/e-util/e-mktemp.c +++ b/e-util/e-mktemp.c @@ -84,7 +84,7 @@ expire_dir_rec(const char *base, time_t now) count++; } } else if (g_unlink(path->str) == -1) { - d(printf("expiry failed: %s\n", strerror(errno))); + d(printf("expiry failed: %s\n", g_strerror(errno))); count++; } else { d(printf("expired %s\n", path->str)); 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; diff --git a/plugins/ipod-sync/sync.c b/plugins/ipod-sync/sync.c index a444af1bd9..42f3bdfa0b 100644 --- a/plugins/ipod-sync/sync.c +++ b/plugins/ipod-sync/sync.c @@ -184,7 +184,7 @@ write_to_ipod (GString *str, char *path, char *filename) if (f == NULL) { - critical_error (_("Could not export data!"), strerror (errno)); + critical_error (_("Could not export data!"), g_strerror (errno)); } /* Convert the input string into UTF16 */ diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index fb30833080..5114e9b386 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -141,16 +141,16 @@ pipe_to_sa_full (CamelMimeMessage *msg, const char *in, char **argv, int rv_err, if (pipe (fds) == -1) { errnosav = errno; - d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", strerror (errno))); - g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), strerror (errnosav)); + d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", g_strerror (errno))); + g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), g_strerror (errnosav)); errno = errnosav; return rv_err; } if (output_buffer && pipe (out_fds) == -1) { errnosav = errno; - d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", strerror (errno))); - g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), strerror (errnosav)); + d(printf ("failed to create a pipe (for use with SpamAssassin: %s\n", g_strerror (errno))); + g_set_error (error, EM_JUNK_ERROR, errnosav, _("Failed to create pipe: %s"), g_strerror (errnosav)); close (fds [0]); close (fds [1]); errno = errnosav; @@ -189,7 +189,7 @@ pipe_to_sa_full (CamelMimeMessage *msg, const char *in, char **argv, int rv_err, close (out_fds [1]); } if (errnosav != 0 && errnosav != -1) - g_set_error (error, EM_JUNK_ERROR, errnosav, _("Error after fork: %s"), strerror (errnosav)); + g_set_error (error, EM_JUNK_ERROR, errnosav, _("Error after fork: %s"), g_strerror (errnosav)); errno = errnosav; return rv_err; } diff --git a/tools/killev.c b/tools/killev.c index 6d9fd925cb..797e9230b5 100644 --- a/tools/killev.c +++ b/tools/killev.c @@ -59,7 +59,7 @@ kill_process (const char *proc_name, KillevComponent *comp) * found, so just bail completely. */ fprintf (stderr, _("Could not execute '%s': %s\n"), - KILL_PROCESS_CMD, strerror (errno)); + KILL_PROCESS_CMD, g_strerror (errno)); exit (1); } |