From: Lennart Poettering Date: Fri, 2 Sep 2022 09:08:50 +0000 (+0200) Subject: find-esp: call the right function X-Git-Tag: v252-rc1~272 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=93b233e72a1df56068f7f7bf1463d81555e9631c;p=thirdparty%2Fsystemd.git find-esp: call the right function We want the parent dir here, let's fix that. --- diff --git a/src/shared/find-esp.c b/src/shared/find-esp.c index d21b6742b9b..6408286a5ba 100644 --- a/src/shared/find-esp.c +++ b/src/shared/find-esp.c @@ -279,7 +279,7 @@ static int verify_fsroot_dir( * directly instead. It's not as good, due to symlinks and such, but we can't do * anything better here. */ - r = path_extract_filename(path, &parent); + r = path_extract_directory(path, &parent); if (r < 0) return log_error_errno(r, "Failed to extract parent path from '%s': %m", path);