From da7d1fde3f9e37600831bdd5674291522fabd6f2 Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Tue, 22 Apr 2014 17:43:17 +0100 Subject: util: Fix 'wrong mode' debug message Reviewed-by: Simo Sorce --- src/util/check_and_open.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/util') 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; } -- cgit