From: Wayne Davison Date: Tue, 22 May 2007 05:59:02 +0000 (+0000) Subject: Added a comment to the do_chmod() to mark it as a discouraged function. X-Git-Tag: v3.0.0pre1~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5ae4e25c26f006e686dcefde9fe7d489f840248;p=thirdparty%2Frsync.git Added a comment to the do_chmod() to mark it as a discouraged function. --- diff --git a/syscall.c b/syscall.c index ebcb9009..d23f2ebf 100644 --- a/syscall.c +++ b/syscall.c @@ -112,7 +112,7 @@ int do_mknod(const char *pathname, mode_t mode, dev_t dev) return -1; close(sock); #ifdef HAVE_CHMOD - return do_chmod(pathname, mode); + return do_chmod(pathname, mode); /*DISCOURAGED FUNCTION*/ #else return 0; #endif