summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/syscons.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2000-01-20 13:21:47 +0000
committeryokota <yokota@FreeBSD.org>2000-01-20 13:21:47 +0000
commit630186d4d8dea85cfb479b08b29691284e6da304 (patch)
tree7fe66e38527b3ced08c0ed6cba3295d65e8c156d /sys/dev/syscons/syscons.c
parent8732157b07141a4e98d6c7877ec86ce4dd32b89a (diff)
downloadFreeBSD-src-630186d4d8dea85cfb479b08b29691284e6da304.zip
FreeBSD-src-630186d4d8dea85cfb479b08b29691284e6da304.tar.gz
Fix wrong usage of FONT_NONE. It was not meant to be set in
scp->font_size in the first place. It is redundant now and is removed. Found by: bde
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r--sys/dev/syscons/syscons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 6d46128..351c33e 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -2802,7 +2802,7 @@ init_scp(sc_softc_t *sc, int vty, scr_stat *scp)
scp->ypixel = info.vi_height;
scp->xsize = info.vi_width/8;
scp->ysize = info.vi_height/info.vi_cheight;
- scp->font_size = FONT_NONE;
+ scp->font_size = 0;
scp->font = NULL;
} else {
scp->xsize = info.vi_width;
OpenPOWER on IntegriCloud