]> granicus.if.org Git - gc/commitdiff
Fix abort message in GC_move_long_link
authorIvan Maidanski <ivmai@mail.ru>
Thu, 10 Sep 2015 23:16:42 +0000 (02:16 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 29 Jan 2016 13:06:19 +0000 (16:06 +0300)
* finalize.c (GC_move_long_link): Fix function name in abort message.

finalize.c

index 970775f225576668d5b7bd2d2584196c2abe4502..34bcd069c4e598865738d66cf5fca2a1725a07f3 100644 (file)
@@ -365,7 +365,7 @@ GC_API int GC_CALL GC_unregister_disappearing_link(void * * link)
 
       if (((word)new_link & (ALIGNMENT-1)) != 0
           || !NONNULL_ARG_NOT_NULL(new_link))
-        ABORT("Bad new_link arg to GC_move_disappearing_link");
+        ABORT("Bad new_link arg to GC_move_long_link");
       if (((word)link & (ALIGNMENT-1)) != 0)
         return GC_NOT_FOUND; /* Nothing to do. */