https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252833

--- Comment #1 from Toomas Soome <tso...@freebsd.org> ---
(In reply to ben from comment #0)
tsoome@freebsd:/usr/src % git diff
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 2352ed823424..ac89d8635e78 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -1528,6 +1528,8 @@ parse_font_info(struct font_info *fi)
        ptr = roundup2(ptr, 8);

        vfp = &vt_font_loader;
+       /* This is default font, set refcount 1 to disable removal. */
+       vfp->vf_refcount = 1;
        vfp->vf_height = fi->fi_height;
        vfp->vf_width = fi->fi_width;
        for (unsigned i = 0; i < VFNT_MAPS; i++) {
tsoome@freebsd:/usr/src %

This patch should fix it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to