chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket-util: socket_address_parse() should not log errors on its own
[elogind.git]
/
src
/
shared
/
copy.c
diff --git
a/src/shared/copy.c
b/src/shared/copy.c
index 775a33985613a33c7d5b1e9a51dba1bf236c03ad..1282cb88be7f076b3e390a3131a301da6c7304c0 100644
(file)
--- a/
src/shared/copy.c
+++ b/
src/shared/copy.c
@@
-372,7
+372,7
@@
int copy_file(const char *from, const char *to, int flags, mode_t mode, unsigned
}
if (chattr_flags != 0)
- (void) chattr_fd(fdt,
true, chattr_flags
);
+ (void) chattr_fd(fdt,
chattr_flags, (unsigned) -1
);
r = copy_file_fd(from, fdt, true);
if (r < 0) {