summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/check_and_open.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/check_and_open.c b/src/util/check_and_open.c
index 80ec00e10..59b90bf4b 100644
--- a/src/util/check_and_open.c
+++ b/src/util/check_and_open.c
@@ -105,8 +105,9 @@ static errno_t perform_checks(struct stat *stat_buf,
if ((st_mode & ALLPERMS) != (mode & ALLPERMS)) {
DEBUG(SSSDBG_CRIT_FAILURE,
- "File has the wrong mode [%.7o], expected [%.7o].\n",
- (st_mode & ALLPERMS), (mode & ALLPERMS));
+ "File has the wrong (bit masked) mode [%.7o], "
+ "expected [%.7o].\n",
+ (st_mode & ALLPERMS), (mode & ALLPERMS));
return EINVAL;
}