Index: undo_old.c =================================================================== --- undo_old.c (revision 31006) +++ undo_old.c (revision 31007) @@ -110,7 +110,7 @@ UndoListType *slot = udata; #ifndef NDEBUG const char *res = undo_type2str(slot->Type); - pcb_snprintf(dst, dst_len, "%s ser=%d id=%d", res, slot->Serial, slot->ID); + rnd_snprintf(dst, dst_len, "%s ser=%d id=%d", res, slot->Serial, slot->ID); #else sprintf(dst, "%d", slot->Type); #endif