Skip to content

Commit 3940acb

Browse files
committed
deploy: Fix enum type mismatch in copy flags
Fixes: #3591
1 parent c0c3e99 commit 3940acb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/libostree/ostree-sysroot-deploy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ ensure_directory_from_template (int orig_etc_fd, int modified_etc_fd, int new_et
399399
if (!glnx_opendirat (new_etc_fd, path, TRUE, &target_dfd, error))
400400
return FALSE;
401401

402-
if (!dirfd_copy_attributes_and_xattrs (modified_etc_fd, path, src_dfd, target_dfd, flags,
403-
cancellable, error))
402+
if (!dirfd_copy_attributes_and_xattrs (modified_etc_fd, path, src_dfd, target_dfd,
403+
sysroot_flags_to_copy_flags (0, flags), cancellable, error))
404404
return FALSE;
405405

406406
if (out_dfd)

0 commit comments

Comments
 (0)