gnome-screensaver r1655 - in trunk: . src
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-screensaver r1655 - in trunk: . src
- Date: Tue, 14 Apr 2009 01:46:23 +0000 (UTC)
Author: mccann
Date: Tue Apr 14 01:46:22 2009
New Revision: 1655
URL: http://svn.gnome.org/viewvc/gnome-screensaver?rev=1655&view=rev
Log:
2009-04-13 William Jon McCann <jmccann redhat com>
* src/gs-auth-helper.c (ext_run):
Use g_strerror.
Patch from: Paolo Borelli <pborelli katamail com>
Fixes #572956
Modified:
trunk/ChangeLog
trunk/src/gs-auth-helper.c
Modified: trunk/src/gs-auth-helper.c
==============================================================================
--- trunk/src/gs-auth-helper.c (original)
+++ trunk/src/gs-auth-helper.c Tue Apr 14 01:46:22 2009
@@ -109,7 +109,7 @@
/* Helper is invoked as helper service-name [user] */
execlp (PASSWD_HELPER_PROGRAM, PASSWD_HELPER_PROGRAM, "gnome-screensaver", user, NULL);
if (verbose) {
- g_message ("%s: %s", PASSWD_HELPER_PROGRAM, strerror (errno));
+ g_message ("%s: %s", PASSWD_HELPER_PROGRAM, g_strerror (errno));
}
exit (1);
@@ -131,7 +131,7 @@
if (verbose) {
g_message ("ext_run: waitpid failed: %s\n",
- strerror (errno));
+ g_strerror (errno));
}
unblock_sigchld ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]