summaryrefslogtreecommitdiff
path: root/src/locale/localed-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/localed-util.c')
-rw-r--r--src/locale/localed-util.c2
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");
}