summaryrefslogtreecommitdiff
path: root/libguile/procs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/procs.c')
-rw-r--r--libguile/procs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/procs.c b/libguile/procs.c
index 74cb86cce..fd7f3aa48 100644
--- a/libguile/procs.c
+++ b/libguile/procs.c
@@ -102,7 +102,7 @@ scm_c_make_subr_with_generic (const char *name,
long type, SCM (*fcn) (), SCM *gf)
{
SCM subr = scm_c_make_subr (name, type, fcn);
- SCM_SUBR_GENERIC (subr) = gf;
+ SCM_SET_SUBR_GENERIC_LOC (subr, gf);
return subr;
}