summaryrefslogtreecommitdiff
path: root/libguile/deprecation.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/deprecation.c')
-rw-r--r--libguile/deprecation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/deprecation.c b/libguile/deprecation.c
index b826f190e..87f516476 100644
--- a/libguile/deprecation.c
+++ b/libguile/deprecation.c
@@ -137,7 +137,7 @@ scm_init_deprecation ()
#if SCM_DEBUG_DEPRECATED == 0
const char *level = getenv ("GUILE_WARN_DEPRECATED");
if (level == NULL)
- level = GUILE_WARN_DEPRECATED_DEFAULT;
+ level = SCM_WARN_DEPRECATED_DEFAULT;
if (!strcmp (level, "detailed"))
issued_msgs = scm_permanent_object (scm_c_make_hash_table (17));
else if (!strcmp (level, "no"))