summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-10-05 15:23:29 +0200
committerLuca Boccassi <luca.boccassi@microsoft.com>2021-10-05 20:37:30 +0200
commit01bebba3de3aaf884a5537ea134b490cd3b330cb (patch)
tree477d002b5be61d89d8e3001d770005978d30a0b5 /src/shared
parentbasic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch] (diff)
downloadsystemd-01bebba3de3aaf884a5537ea134b490cd3b330cb.tar.xz
systemd-01bebba3de3aaf884a5537ea134b490cd3b330cb.zip
basic: move chase_symlinks_and_fopen_unlocked() → chase-symlinks.[ch]
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/user-record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/user-record.c b/src/shared/user-record.c
index f34a48b656..fd6b37b908 100644
--- a/src/shared/user-record.c
+++ b/src/shared/user-record.c
@@ -55,7 +55,7 @@ int read_login_defs(UGIDAllocationRange *ret_defs, const char *path, const char
if (!path)
path = "/etc/login.defs";
- r = chase_symlinks_and_fopen_unlocked(path, root, CHASE_PREFIX_ROOT, "re", &f, NULL);
+ r = chase_symlinks_and_fopen_unlocked(path, root, CHASE_PREFIX_ROOT, "re", NULL, &f);
if (r == -ENOENT)
goto assign;
if (r < 0)