]> Dogcows Code - chaz/openbox/commitdiff
g_strerror
authorDana Jansens <danakj@orodu.net>
Sat, 25 Oct 2003 19:40:54 +0000 (19:40 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 25 Oct 2003 19:40:54 +0000 (19:40 +0000)
openbox/session.c

index 57a463e192b21dbd5efeb91955de27ae2ce83cdd..2fd83e983ca0b5754fcef2129cd8dd4cab7247ee 100644 (file)
@@ -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);
     }
This page took 0.027014 seconds and 4 git commands to generate.