summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-03-17 07:34:22 -0700
committerWayne Davison <wayned@samba.org>2008-03-17 07:35:19 -0700
commitaa0e6b9977eff5c5433239a916623a4a3e8a67cb (patch)
tree6c70722ff87675997570c59ab0194ccd5abc3b09 /syscall.c
parent1ba6468f1bdaec43884b4d01d65834c8ab3312df (diff)
downloadrsync-aa0e6b9977eff5c5433239a916623a4a3e8a67cb.tar.gz
rsync-aa0e6b9977eff5c5433239a916623a4a3e8a67cb.tar.bz2
rsync-aa0e6b9977eff5c5433239a916623a4a3e8a67cb.zip
Attempting to silence some more "checker" warnings.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index c2180de3..d4ff3f91 100644
--- a/syscall.c
+++ b/syscall.c
@@ -167,7 +167,7 @@ int do_chmod(const char *path, mode_t mode)
code = 1;
#endif
} else
- code = chmod(path, mode & CHMOD_BITS);
+ code = chmod(path, mode & CHMOD_BITS); /* DISCOURAGED FUNCTION */
if (code != 0 && (preserve_perms || preserve_executability))
return code;
return 0;