summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-01 09:07:32 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-04-05 00:42:10 -0400
commita08ac7e0f72a502564aae6b85a8821f6bd03493c (patch)
treed04b5a659d664b9862169bcc350eef04d2fed471 /src
parent0ade5ffe2778e7b238bba8d979ca4d53dee1e702 (diff)
logind: remove one cast
Diffstat (limited to 'src')
-rw-r--r--src/login/logind-seat.c4
1 files changed, 2 insertions, 2 deletions
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) {