diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-03-22 12:38:01 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-03-22 15:57:56 +0100 |
commit | d50b5839b0d6f1e66860a6d8e125fd3fe96b76c8 (patch) | |
tree | e15345a0e1bb497415718991fa4702ca1d54f9df /src/login/logind-user.c | |
parent | a5935c6601530d50016ba26c689a05928814a257 (diff) | |
download | systemd-d50b5839b0d6f1e66860a6d8e125fd3fe96b76c8.tar.gz |
basic/mkdir: convert bool flag to enum
In preparation for subsequent changes...
Diffstat (limited to 'src/login/logind-user.c')
-rw-r--r-- | src/login/logind-user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/logind-user.c b/src/login/logind-user.c index f85564f221..3120382481 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -143,7 +143,7 @@ static int user_save_internal(User *u) { assert(u); assert(u->state_file); - r = mkdir_safe_label("/run/systemd/users", 0755, 0, 0, false); + r = mkdir_safe_label("/run/systemd/users", 0755, 0, 0, 0); if (r < 0) goto fail; @@ -337,7 +337,7 @@ static int user_mkdir_runtime_path(User *u) { assert(u); - r = mkdir_safe_label("/run/user", 0755, 0, 0, false); + r = mkdir_safe_label("/run/user", 0755, 0, 0, 0); if (r < 0) return log_error_errno(r, "Failed to create /run/user: %m"); |