diff --git a/sysmisc.c b/sysmisc.c index bcf00d6..f51937e 100644 --- a/sysmisc.c +++ b/sysmisc.c @@ -349,7 +349,7 @@ cleanup: return err; } -char const *ezconf_w_error_string(Ezconf_w_error error) { +char const *ezconf_w_errorstring(Ezconf_w_error error) { switch (error) { case Ezconf_w_ok: return "No error"; diff --git a/sysmisc.h b/sysmisc.h index c85de64..bad58e1 100644 --- a/sysmisc.h +++ b/sysmisc.h @@ -105,7 +105,7 @@ typedef enum { Ezconf_w_unknown_error, } Ezconf_w_error; -char const *ezconf_w_error_string(Ezconf_w_error error); +char const *ezconf_w_errorstring(Ezconf_w_error error); typedef struct { char const *name; diff --git a/tui_main.c b/tui_main.c index 2684373..9aeef5b 100644 --- a/tui_main.c +++ b/tui_main.c @@ -2439,7 +2439,7 @@ void save_prefs_with_error_message(Midi_mode const *midi_mode, int softmargin_y, } osofree(midi_output_device_name); if (ez.error) { - char const *msg = ezconf_w_error_string(ez.error); + char const *msg = ezconf_w_errorstring(ez.error); qmsg_printf_push("Config Error", "Error when writing configuration file:\n%s", msg); }