summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-05-22 05:59:02 +0000
committerWayne Davison <wayned@samba.org>2007-05-22 05:59:02 +0000
commitb5ae4e25c26f006e686dcefde9fe7d489f840248 (patch)
tree1d1eb1d63bd83f97487ae5a3f7f9ff7e87f832cb /syscall.c
parent3d0a159d96d153144fe3bd2a2c59a62ec2a62d89 (diff)
downloadrsync-b5ae4e25c26f006e686dcefde9fe7d489f840248.tar.gz
Added a comment to the do_chmod() to mark it as a discouraged function.
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 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