diff options
Diffstat (limited to 'libguile/error.c')
-rw-r--r-- | libguile/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/error.c b/libguile/error.c index 850bf5b7d..fa409bcef 100644 --- a/libguile/error.c +++ b/libguile/error.c @@ -74,7 +74,7 @@ void scm_error (SCM key, const char *subr, const char *message, SCM args, SCM rest) { SCM arg_list; - if (scm_gc_heap_lock) + if (scm_gc_running_p) { /* The error occured during GC --- abort */ fprintf (stderr, "Error in %s during GC: %s\n", |