Commit b5ae4e25 authored by Wayne Davison's avatar Wayne Davison

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

parent 3d0a159d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment