summaryrefslogtreecommitdiffstats
path: root/src/dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-11-01 12:04:20 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-11-01 12:04:20 +0100
commit52b444738c8d55f54a937e22aa45fcaa63b51db8 (patch)
tree5826f1cb47fa5f0f1894f148363d371c03d1cf4c /src/dir.c
parent86308a25e11781e6d78dd72e16991582295dd318 (diff)
code style fix when using set_mode()
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dir.c b/src/dir.c
index 58ca672..318bba9 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -401,8 +401,8 @@ static mode_t mode_xlate(unsigned int lmode)
*
* Give a file a particular mode.
*
- * Return: 1 Success, set the file's mode
- * 0 Error, failed to change the file's mode
+ * Return: 0 Success, set the file's mode
+ * -1 Error, failed to change the file's mode
*/
int set_mode(const char *pathname, unsigned int mode)
{