diff options
author | Wayne Davison <wayned@samba.org> | 2007-05-22 05:59:02 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-05-22 05:59:02 +0000 |
commit | b5ae4e25c26f006e686dcefde9fe7d489f840248 (patch) | |
tree | 1d1eb1d63bd83f97487ae5a3f7f9ff7e87f832cb /syscall.c | |
parent | 3d0a159d96d153144fe3bd2a2c59a62ec2a62d89 (diff) | |
download | rsync-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |