aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_limits
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-08-25 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-08-25 08:00:00 +0000
commitaca37d3400e31ef01f3f79b64dd8660d872aaf8f (patch)
tree983f552d65ea84aac1c2e9de1617c6bfb4673897 /modules/pam_limits
parentd2536800c523e8e1df140084d6b938b7bbf77dc3 (diff)
downloadpam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.tar.gz
pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.tar.bz2
pam-aca37d3400e31ef01f3f79b64dd8660d872aaf8f.zip
build: rename SCONFIGDIR config.h macro to SCONFIG_DIR
This way it is visibly different from the configure variable SCONFIGDIR, which is helpful, because their values are slightly different: the macro is quoted while the configure variable is not quoted, and this difference may cause problems with other build systems.
Diffstat (limited to 'modules/pam_limits')
-rw-r--r--modules/pam_limits/pam_limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_limits/pam_limits.c b/modules/pam_limits/pam_limits.c
index 1197e25c..80f581a5 100644
--- a/modules/pam_limits/pam_limits.c
+++ b/modules/pam_limits/pam_limits.c
@@ -126,7 +126,7 @@ struct pam_limit_s {
/* Limits from globbed files. */
#define LIMITS_CONF_GLOB (LIMITS_FILE_DIR "/*.conf")
-#define LIMITS_FILE (SCONFIGDIR "/limits.conf")
+#define LIMITS_FILE (SCONFIG_DIR "/limits.conf")
#ifdef VENDOR_SCONFIGDIR
#define VENDOR_LIMITS_FILE (VENDOR_SCONFIGDIR "/limits.conf")