diff options
author | jmg <jmg@FreeBSD.org> | 2003-06-30 06:16:06 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2003-06-30 06:16:06 +0000 |
commit | cfd592ad57fd4c3adbcdfbe51b5994322683ce9c (patch) | |
tree | 93a66220f9170e3364aadce0ffc7f66c89912549 /bin | |
parent | 1bc17506c3eafae5475a4e9742976c0126d661b4 (diff) | |
download | FreeBSD-src-cfd592ad57fd4c3adbcdfbe51b5994322683ce9c.zip FreeBSD-src-cfd592ad57fd4c3adbcdfbe51b5994322683ce9c.tar.gz |
pass -1 to setfile in cp.c
Submitted by: Jun Kuriyama
Diffstat (limited to 'bin')
-rw-r--r-- | bin/cp/cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c index 3c3c223..c8b42e3 100644 --- a/bin/cp/cp.c +++ b/bin/cp/cp.c @@ -366,7 +366,7 @@ copy(char *argv[], enum op type, int fts_options) * normally want to preserve them on directories. */ if (pflag) { - if (setfile(curr->fts_statp, 0)) + if (setfile(curr->fts_statp, -1)) rval = 1; } else { mode = curr->fts_statp->st_mode; |