diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-03-14 16:30:46 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-03-21 20:53:09 +0100 |
commit | 7c2f5495e27283c757a5eb544af7654c8f60e50d (patch) | |
tree | fec5aac5976b64120c3b27600089d0247328cc40 /src/firstboot | |
parent | f3e03bd04e21c00cd251bf69a346d0ae505b6494 (diff) | |
download | systemd-7c2f5495e27283c757a5eb544af7654c8f60e50d.tar.gz |
copy: Move chattr arguments to full function signatures
These are almost never used, so let's move them to the _full()
functions signatures.
Diffstat (limited to 'src/firstboot')
-rw-r--r-- | src/firstboot/firstboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firstboot/firstboot.c b/src/firstboot/firstboot.c index 5eaaff7d84..8f3e6a1265 100644 --- a/src/firstboot/firstboot.c +++ b/src/firstboot/firstboot.c @@ -325,7 +325,7 @@ static int process_locale(void) { if (arg_copy_locale && arg_root) { (void) mkdir_parents(etc_localeconf, 0755); - r = copy_file("/etc/locale.conf", etc_localeconf, 0, 0644, 0, 0, COPY_REFLINK); + r = copy_file("/etc/locale.conf", etc_localeconf, 0, 0644, COPY_REFLINK); if (r != -ENOENT) { if (r < 0) return log_error_errno(r, "Failed to copy %s: %m", etc_localeconf); @@ -405,7 +405,7 @@ static int process_keymap(void) { if (arg_copy_keymap && arg_root) { (void) mkdir_parents(etc_vconsoleconf, 0755); - r = copy_file("/etc/vconsole.conf", etc_vconsoleconf, 0, 0644, 0, 0, COPY_REFLINK); + r = copy_file("/etc/vconsole.conf", etc_vconsoleconf, 0, 0644, COPY_REFLINK); if (r != -ENOENT) { if (r < 0) return log_error_errno(r, "Failed to copy %s: %m", etc_vconsoleconf); |