summaryrefslogtreecommitdiff
path: root/src/import/pull-raw.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-02-13 21:51:11 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-02-14 12:51:40 +0100
commitc17cfe6ef7bc1ac4501b5f6e7d4f4efc08aef439 (patch)
tree5ec271d10ba3d521e8b2694e139ef6814b1142cd /src/import/pull-raw.c
parenta4d2461c46f40c9ae5002a2aea35b35ccb60ef9c (diff)
downloadsystemd-c17cfe6ef7bc1ac4501b5f6e7d4f4efc08aef439.tar.gz
copy: Make copy_xattr() more generic
Let's make copy_xattr() a little more generic in preparation for copying symlink xattrs.
Diffstat (limited to 'src/import/pull-raw.c')
-rw-r--r--src/import/pull-raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/pull-raw.c b/src/import/pull-raw.c
index a4a844bf07..8a152d0f6f 100644
--- a/src/import/pull-raw.c
+++ b/src/import/pull-raw.c
@@ -396,7 +396,7 @@ static int raw_pull_make_local_copy(RawPull *i) {
return log_error_errno(r, "Failed to make writable copy of image: %m");
(void) copy_times(i->raw_job->disk_fd, dfd, COPY_CRTIME);
- (void) copy_xattr(i->raw_job->disk_fd, dfd, 0);
+ (void) copy_xattr(i->raw_job->disk_fd, NULL, dfd, NULL, 0);
dfd = safe_close(dfd);