From: Dana Jansens Date: Sat, 25 Oct 2003 19:40:54 +0000 (+0000) Subject: g_strerror X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=671a30187f8cdc64c6b0a97eb0c7eb2f33c4247e;p=chaz%2Fopenbox g_strerror --- diff --git a/openbox/session.c b/openbox/session.c index 57a463e1..2fd83e98 100644 --- a/openbox/session.c +++ b/openbox/session.c @@ -335,7 +335,7 @@ static gboolean session_save() if (!f) { success = FALSE; g_warning("unable to save the session to %s: %s", - save_file, strerror(errno)); + save_file, g_strerror(errno)); } else { guint stack_pos = 0; @@ -425,7 +425,7 @@ static gboolean session_save() if (fflush(f)) { success = FALSE; g_warning("error while saving the session to %s: %s", - save_file, strerror(errno)); + save_file, g_strerror(errno)); } fclose(f); }