summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-session-record.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/daemon/gdm-session-record.c b/daemon/gdm-session-record.c
index ae578d10..81c52cd7 100644
--- a/daemon/gdm-session-record.c
+++ b/daemon/gdm-session-record.c
@@ -55,11 +55,11 @@ gdm_session_write_record (GdmSessionRecordType record_type,
const char *x11_display_name,
const char *display_device)
{
- UTMP session_record = { 0 };
- UTMP *u;
- GTimeVal now = { 0 };
- char *hostname;
- char *username;
+ UTMP session_record = { 0 };
+ UTMP *u;
+ GTimeVal now = { 0 };
+ char *hostname;
+ const char *username;
u = NULL;