summaryrefslogtreecommitdiff
path: root/src/pstore
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-14 16:30:46 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-03-21 20:53:09 +0100
commit7c2f5495e27283c757a5eb544af7654c8f60e50d (patch)
treefec5aac5976b64120c3b27600089d0247328cc40 /src/pstore
parentf3e03bd04e21c00cd251bf69a346d0ae505b6494 (diff)
downloadsystemd-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/pstore')
-rw-r--r--src/pstore/pstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pstore/pstore.c b/src/pstore/pstore.c
index fa6d6ec0e9..815503c6e7 100644
--- a/src/pstore/pstore.c
+++ b/src/pstore/pstore.c
@@ -152,7 +152,7 @@ static int move_file(PStoreEntry *pe, const char *subdir1, const char *subdir2)
r = mkdir_parents(ofd_path, 0755);
if (r < 0)
return log_error_errno(r, "Failed to create directory %s: %m", ofd_path);
- r = copy_file_atomic(ifd_path, ofd_path, 0600, 0, 0, COPY_REPLACE);
+ r = copy_file_atomic(ifd_path, ofd_path, 0600, COPY_REPLACE);
if (r < 0)
return log_error_errno(r, "Failed to copy_file_atomic: %s to %s", ifd_path, ofd_path);
}