nspawn: fix flags type for chase()

This commit is contained in:
Lennart Poettering
2025-11-12 16:47:17 +01:00
committed by Yu Watanabe
parent d3c6a172a0
commit 28fd2a66f4

View File

@@ -3154,7 +3154,7 @@ static int determine_names(void) {
return 0;
}
static int chase_and_update(char **p, unsigned flags) {
static int chase_and_update(char **p, ChaseFlags flags) {
char *chased;
int r;
@@ -3163,7 +3163,7 @@ static int chase_and_update(char **p, unsigned flags) {
if (!*p)
return 0;
r = chase(*p, NULL, flags, &chased, NULL);
r = chase(*p, /* root= */ NULL, flags, &chased, /* ret_fd= */ NULL);
if (r < 0)
return log_error_errno(r, "Failed to resolve path %s: %m", *p);