diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 19:08:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:55 +0100 |
commit | e929bee09ab8000e87b7e825ed3a78d73ecdd7f0 (patch) | |
tree | 5e1fc6e11dec6ab46fb9497fb9915b65ad37d8af /src/sysusers/sysusers.c | |
parent | bb15fafe9cd815fe5bf9eae84c08aead2eb98fd7 (diff) |
util-lib: move take_password_lock() to user-util.[ch]
Also, rename it take_etc_passwd_lock(), in order to make it more
expressive.
Diffstat (limited to 'src/sysusers/sysusers.c')
-rw-r--r-- | src/sysusers/sysusers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 177432bf9f..5d2cbe1225 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -1859,7 +1859,7 @@ int main(int argc, char *argv[]) { if (r < 0) goto finish; - lock = take_password_lock(arg_root); + lock = take_etc_passwd_lock(arg_root); if (lock < 0) { log_error_errno(lock, "Failed to take lock: %m"); goto finish; |