summaryrefslogtreecommitdiffstats
path: root/src/import/export-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/export-raw.c
parentxattr-util: Add xsetxattr() (diff)
downloadsystemd-c17cfe6ef7bc1ac4501b5f6e7d4f4efc08aef439.tar.xz
systemd-c17cfe6ef7bc1ac4501b5f6e7d4f4efc08aef439.zip
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/export-raw.c')
-rw-r--r--src/import/export-raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/export-raw.c b/src/import/export-raw.c
index 7c61aef3b6..44181fd9b2 100644
--- a/src/import/export-raw.c
+++ b/src/import/export-raw.c
@@ -216,7 +216,7 @@ static int raw_export_process(RawExport *e) {
finish:
if (r >= 0) {
(void) copy_times(e->input_fd, e->output_fd, COPY_CRTIME);
- (void) copy_xattr(e->input_fd, e->output_fd, 0);
+ (void) copy_xattr(e->input_fd, NULL, e->output_fd, NULL, 0);
}
if (e->on_finished)