aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/cp.c b/toys/posix/cp.c
index f0522af9..216d4592 100644
--- a/toys/posix/cp.c
+++ b/toys/posix/cp.c
@@ -371,7 +371,7 @@ void cp_main(void)
error_exit("'%s' not directory", destname);
if (toys.optflags & (FLAG_a|FLAG_p)) {
- TT.pflags = CP_mode|CP_ownership|CP_timestamps;
+ TT.pflags = _CP_mode|_CP_ownership|_CP_timestamps;
umask(0);
}
// Not using comma_args() (yet?) because interpeting as letters.