summaryrefslogtreecommitdiffstats
path: root/sys/dev/vt
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2015-08-15 15:44:09 +0000
committermarcel <marcel@FreeBSD.org>2015-08-15 15:44:09 +0000
commit74dea46fa1c21d120df56579c6359f74dff2e20e (patch)
treed95e6241bf0d1e9c3d80c67a1421a72942f30c39 /sys/dev/vt
parent4f2f270bfd24d7cb4e085050daf8470bc734e958 (diff)
downloadFreeBSD-src-74dea46fa1c21d120df56579c6359f74dff2e20e.zip
FreeBSD-src-74dea46fa1c21d120df56579c6359f74dff2e20e.tar.gz
Improve the VT initialization message: have it say what the
resolution is. For text mode this is the number of columns by the number of rows. Include the name of the driver in a much less prominent way.
Diffstat (limited to 'sys/dev/vt')
-rw-r--r--sys/dev/vt/vt_core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 99da892..702df42 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -264,8 +264,9 @@ vt_update_static(void *dummy)
if (!vty_enabled(VTY_VT))
return;
if (main_vd->vd_driver != NULL)
- printf("VT: running with driver \"%s\".\n",
- main_vd->vd_driver->vd_name);
+ printf("VT(%s): %s %ux%u\n", main_vd->vd_driver->vd_name,
+ (main_vd->vd_flags & VDF_TEXTMODE) ? "text" : "resolution",
+ main_vd->vd_width, main_vd->vd_height);
else
printf("VT: init without driver.\n");
OpenPOWER on IntegriCloud