Added a comment to the do_chmod() to mark it as a discouraged function.

This commit is contained in:
Wayne Davison
2007-05-22 05:59:02 +00:00
parent 3d0a159d96
commit b5ae4e25c2

View File

@@ -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