summaryrefslogtreecommitdiffstats
path: root/src/util/sss_ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/sss_ini.c')
-rw-r--r--src/util/sss_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c
index 5293ae93b..89b133da0 100644
--- a/src/util/sss_ini.c
+++ b/src/util/sss_ini.c
@@ -120,7 +120,7 @@ int sss_ini_config_file_open(struct sss_ini_initdata *init_data,
&init_data->file);
#elif defined(HAVE_LIBINI_CONFIG_V0)
return check_and_open_readonly(config_file, &init_data->file, 0, 0,
- (S_IRUSR|S_IWUSR), CHECK_REG);
+ S_IFREG|S_IRUSR|S_IWUSR, 0);
#endif
}