Attempting to silence some more "checker" warnings.
[rsync/rsync.git] / syscall.c
index c2180de..d4ff3f9 100644 (file)
--- 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;