summaryrefslogtreecommitdiff
path: root/src/login/logind-user.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-22 20:27:45 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-22 21:25:09 -0400
commitd710aaf7a5d74afb3135f2f79080bd4715790c59 (patch)
tree61a4aa2fa9c02b0bd0eb7bbf37a386b29b02846c /src/login/logind-user.c
parent31b14fdb6f2f018a9d67c9303aac9903b4227dbd (diff)
Use "return log_error_errno" in more places"
Diffstat (limited to 'src/login/logind-user.c')
-rw-r--r--src/login/logind-user.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/logind-user.c b/src/login/logind-user.c
index f7d83909a0..348e396292 100644
--- a/src/login/logind-user.c
+++ b/src/login/logind-user.c
@@ -311,8 +311,7 @@ int user_load(User *u) {
if (r == -ENOENT)
return 0;
- log_error_errno(r, "Failed to read %s: %m", u->state_file);
- return r;
+ return log_error_errno(r, "Failed to read %s: %m", u->state_file);
}
if (display)