diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-05-29 17:13:12 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2015-05-29 17:42:44 +0200 |
commit | e26d6ce517a49c246141ed20528614823c2f5799 (patch) | |
tree | 1c69999b21f15b189c3e7d21fb5dd766bf75835b /src/login/logind-user.c | |
parent | 5d409034017e9f9f8c4392157d95511fc2e05d87 (diff) |
path-util: Change path_is_mount_point() symlink arg from bool to flags
This makes path_is_mount_point() consistent with fd_is_mount_point() wrt.
flags.
Diffstat (limited to 'src/login/logind-user.c')
-rw-r--r-- | src/login/logind-user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 71bff96728..dc3db9abda 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -320,7 +320,7 @@ static int user_mkdir_runtime_path(User *u) { } else p = u->runtime_path; - if (path_is_mount_point(p, false) <= 0) { + if (path_is_mount_point(p, 0) <= 0) { _cleanup_free_ char *t = NULL; (void) mkdir(p, 0700); |