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/filter_dlg.c | |
parent | 6c094f6775a72ab2cf362cc5b172393a97dd68f5 (diff) | |
download | wireshark-8443bbbf757ab65be172b294ff7c32cf93453de8.tar.gz |
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/filter_dlg.c')
-rw-r--r-- | gtk/filter_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/filter_dlg.c b/gtk/filter_dlg.c index c641257f01..ae6d5880b7 100644 --- a/gtk/filter_dlg.c +++ b/gtk/filter_dlg.c @@ -837,7 +837,7 @@ filter_dlg_save(filter_list_type_t list_type) if (create_persconffile_dir(&pf_dir_path) == -1) { simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Can't create directory\n\"%s\"\nfor filter files: %s.", - pf_dir_path, strerror(errno)); + pf_dir_path, g_strerror(errno)); g_free(pf_dir_path); return; } @@ -847,7 +847,7 @@ filter_dlg_save(filter_list_type_t list_type) /* We had an error saving the filter. */ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Could not save to your %s filter file\n\"%s\": %s.", - filter_type, f_path, strerror(f_save_errno)); + filter_type, f_path, g_strerror(f_save_errno)); g_free(f_path); } } |