From a08ac7e0f72a502564aae6b85a8821f6bd03493c Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 1 Apr 2014 09:07:32 -0400 Subject: logind: remove one cast --- src/login/logind-seat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/login/logind-seat.c b/src/login/logind-seat.c index 3f5efdc8ea..5350e77004 100644 --- a/src/login/logind-seat.c +++ b/src/login/logind-seat.c @@ -120,9 +120,9 @@ int seat_save(Seat *s) { fprintf(f, "ACTIVE=%s\n" - "ACTIVE_UID=%lu\n", + "ACTIVE_UID="UID_FMT"\n", s->active->id, - (unsigned long) s->active->user->uid); + s->active->user->uid); } if (s->sessions) { -- cgit v1.2.3-54-g00ecf