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 d33e6b5ae..daa02c06d 100644
--- a/libguile/deprecation.c
+++ b/libguile/deprecation.c
@@ -106,7 +106,7 @@ SCM_DEFINE(scm_issue_deprecation_warning,
SCM nl = scm_from_locale_string ("\n");
SCM msgs_nl = SCM_EOL;
char *c_msgs;
- while (SCM_CONSP (msgs))
+ while (scm_is_pair (msgs))
{
if (msgs_nl != SCM_EOL)
msgs_nl = scm_cons (nl, msgs_nl);