Replace all strerror() with g_strerror().
[obnox/wireshark/wip.git] / gtk / filter_dlg.c
index c641257f0144be2e41c8d3aa1b805eb3548a5b4c..ae6d5880b7be64881aac643596a00ed2468e5dc6 100644 (file)
@@ -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);
     }
 }