summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2017-04-17 13:07:48 -0400
committerRay Strode <rstrode@redhat.com>2017-04-17 13:11:30 -0400
commit55d16cdbce74691e1aebb958b9d3067d845d6436 (patch)
tree29b5866ccc7223f7f28f42252b9c9d106b73c290
parentc53b0595a7daee795179b2bd08af28734ce5ffd5 (diff)
downloadgdm-55d16cdbce74691e1aebb958b9d3067d845d6436.tar.gz
manager: fix crash if session fails to start
commit 5c9e120594839b0597bc7bb8d06be7ba1076c0d8 attempts to handle a session failing to start, but messages up the signal prototype leading to crash. This commit fixes that. https://bugzilla.gnome.org/show_bug.cgi?id=781413
-rw-r--r--daemon/gdm-manager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index b9099763..b9b230a4 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1976,9 +1976,10 @@ remove_user_session (GdmManager *manager,
static void
on_session_start_failed (GdmSession *session,
const char *service_name,
+ const char *message,
GdmManager *manager)
{
- g_debug ("GdmManager: session failed to start");
+ g_debug ("GdmManager: session failed to start: %s", message);
remove_user_session (manager, session);
}