[systemd-commits] src/logind-user.c
Lennart Poettering
lennart at kemper.freedesktop.org
Wed Jul 27 19:15:58 PDT 2011
src/logind-user.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 6c7506dca32f8add56cd03bf263f417305de74a0
Author: Lennart Poettering <lennart at poettering.net>
Date: Thu Jul 28 04:15:53 2011 +0200
logind: properly write user state files
diff --git a/src/logind-user.c b/src/logind-user.c
index 3c245c0..613a5c3 100644
--- a/src/logind-user.c
+++ b/src/logind-user.c
@@ -142,7 +142,7 @@ int user_save(User *u) {
fprintf(f,
"%s%c",
i->id,
- i->sessions_by_seat_next ? ' ' : '\n');
+ i->sessions_by_user_next ? ' ' : '\n');
}
fputs("SEATS=", f);
@@ -151,7 +151,7 @@ int user_save(User *u) {
fprintf(f,
"%s%c",
i->seat->id,
- i->sessions_by_seat_next ? ' ' : '\n');
+ i->sessions_by_user_next ? ' ' : '\n');
}
fputs("ACTIVE_SESSIONS=", f);
@@ -160,7 +160,7 @@ int user_save(User *u) {
fprintf(f,
"%lu%c",
(unsigned long) i->user->uid,
- i->sessions_by_seat_next ? ' ' : '\n');
+ i->sessions_by_user_next ? ' ' : '\n');
fputs("ACTIVE_SEATS=", f);
LIST_FOREACH(sessions_by_user, i, u->sessions) {
@@ -168,7 +168,7 @@ int user_save(User *u) {
fprintf(f,
"%s%c",
i->seat->id,
- i->sessions_by_seat_next ? ' ' : '\n');
+ i->sessions_by_user_next ? ' ' : '\n');
}
}
More information about the systemd-commits
mailing list