aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2022-04-13 09:35:55 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2022-04-13 09:35:55 +0000
commitae18d76d618d93c298664e5f3b1cf1f31a47dafb (patch)
treed77e6bc0fb5d9768c430bf45554dfbacf6bbaf9b
parent2f0baec1ecb2e79cfb97a19e1bbfb27741365847 (diff)
-rw-r--r--sys/dev/syscons/scvidctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c
index 222ed253c3ee..a4ab6d034181 100644
--- a/sys/dev/syscons/scvidctl.c
+++ b/sys/dev/syscons/scvidctl.c
@@ -315,7 +315,9 @@ sc_set_pixel_mode(scr_stat *scp, struct tty *tp, int xsize, int ysize,
video_info_t info;
struct winsize wsz;
u_char *font;
+#ifndef SC_NO_HISTORY
int prev_ysize;
+#endif
int error;
int s;