diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-02-13 21:51:11 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-02-14 12:51:40 +0100 |
commit | c17cfe6ef7bc1ac4501b5f6e7d4f4efc08aef439 (patch) | |
tree | 5ec271d10ba3d521e8b2694e139ef6814b1142cd /src/locale | |
parent | xattr-util: Add xsetxattr() (diff) | |
download | systemd-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/locale')
-rw-r--r-- | src/locale/localed-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed-util.c b/src/locale/localed-util.c index 8f18ecd0d2..d6b6593bea 100644 --- a/src/locale/localed-util.c +++ b/src/locale/localed-util.c @@ -921,7 +921,7 @@ int locale_gen_enable_locale(const char *locale) { r = copy_access(fileno(fr), fileno(fw)); if (r < 0) return r; - r = copy_xattr(fileno(fr), fileno(fw), COPY_ALL_XATTRS); + r = copy_xattr(fileno(fr), NULL, fileno(fw), NULL, COPY_ALL_XATTRS); if (r < 0) log_debug_errno(r, "Failed to copy all xattrs from old to new /etc/locale.gen file, ignoring: %m"); } |