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/pstore/pstore.c | |
parent | Merge pull request #26828 from DaanDeMeyer/tmpfile-at (diff) | |
download | systemd-7c2f5495e27283c757a5eb544af7654c8f60e50d.tar.xz systemd-7c2f5495e27283c757a5eb544af7654c8f60e50d.zip |
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/pstore.c')
-rw-r--r-- | src/pstore/pstore.c | 2 |
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); } |