Commit dad663da authored by Daniel Macks's avatar Daniel Macks Committed by Ray Strode

Only access ut_exit if available

This fixes a build failure on OSX.

parent 82b84fae
......@@ -322,8 +322,10 @@ gdm_session_record_logout (GPid session_pid,
#elif defined(HAVE_UT_UT_TIME)
u->ut_time = session_record.ut_time;
u->ut_exit.e_termination = 0;
u->ut_exit.e_exit = 0;
pututxline (u);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment