diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-06-28 09:00:11 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-06-28 09:00:11 +0000 |
commit | 8443bbbf757ab65be172b294ff7c32cf93453de8 (patch) | |
tree | a97bda6f59cab16eea09e6e4caf2781785378177 /gtk/proto_dlg.c | |
parent | 6c094f6775a72ab2cf362cc5b172393a97dd68f5 (diff) |
Replace all strerror() with g_strerror().
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
Diffstat (limited to 'gtk/proto_dlg.c')
-rw-r--r-- | gtk/proto_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/proto_dlg.c b/gtk/proto_dlg.c index dd0e7ada0d..4c9d4e64f4 100644 --- a/gtk/proto_dlg.c +++ b/gtk/proto_dlg.c @@ -372,14 +372,14 @@ proto_write(gpointer parent_w _U_) if (create_persconffile_dir(&pf_dir_path) == -1) { simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Can't create directory\n\"%s\"\nfor disabled protocols file: %s.", pf_dir_path, - strerror(errno)); + g_strerror(errno)); g_free(pf_dir_path); } else { save_disabled_protos_list(&pf_path, &pf_save_errno); if (pf_path != NULL) { simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Could not save to your disabled protocols file\n\"%s\": %s.", - pf_path, strerror(pf_save_errno)); + pf_path, g_strerror(pf_save_errno)); g_free(pf_path); } } |