chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ade5ff
)
logind: remove one cast
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 1 Apr 2014 13:07:32 +0000
(09:07 -0400)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 5 Apr 2014 04:42:10 +0000
(
00:42
-0400)
src/login/logind-seat.c
patch
|
blob
|
history
diff --git
a/src/login/logind-seat.c
b/src/login/logind-seat.c
index 3f5efdc8ea706f8195b463163f838a5d4d34fd75..5350e770041c78533007c64dd863436b4074b973 100644
(file)
--- 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) {