From 01bebba3de3aaf884a5537ea134b490cd3b330cb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 5 Oct 2021 15:23:29 +0200 Subject: basic: move chase_symlinks_and_fopen_unlocked() → chase-symlinks.[ch] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/shared/user-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') 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) -- cgit v1.2.3