aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_dlg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/proto_dlg.c')
-rw-r--r--gtk/proto_dlg.c4
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);
}
}