diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-28 04:15:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-28 04:15:53 +0200 |
commit | 6c7506dca32f8add56cd03bf263f417305de74a0 (patch) | |
tree | 8cfbc1f5834408b72cac3cd85882a66c2fa86132 /src | |
parent | 9b7115360516f2b6ec1eef1523157ff528878880 (diff) |
logind: properly write user state files
Diffstat (limited to 'src')
-rw-r--r-- | src/logind-user.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logind-user.c b/src/logind-user.c index 3c245c0927..613a5c35ff 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'); } } |