mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
nspawn: fix flags type for chase()
This commit is contained in:
committed by
Yu Watanabe
parent
d3c6a172a0
commit
28fd2a66f4
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user