From ad7b2eec31acf479e536e9c5818f9e431e31be04 Mon Sep 17 00:00:00 2001 From: Kazutaka YOKOTA Date: Thu, 1 Oct 1998 11:40:22 +0000 Subject: [PATCH] - Express various sizes in bytes, rather than Kbytes, in the video mode and adapter information structures. --- usr.sbin/vidcontrol/vidcontrol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c index 1553c3460634..d6a7df8e9a96 100644 --- a/usr.sbin/vidcontrol/vidcontrol.c +++ b/usr.sbin/vidcontrol/vidcontrol.c @@ -28,7 +28,7 @@ #ifndef lint static const char rcsid[] = - "$Id: vidcontrol.c,v 1.22 1998/09/23 10:00:15 yokota Exp $"; + "$Id: vidcontrol.c,v 1.23 1998/09/24 01:36:36 gpalmer Exp $"; #endif /* not lint */ #include @@ -482,10 +482,10 @@ show_mode_info(void) info.vi_cwidth, info.vi_cheight); printf(" %-5s", buf); printf(" 0x%05x %2dk %2dk", - info.vi_window, info.vi_window_size, - info.vi_window_gran); + info.vi_window, info.vi_window_size/1024, + info.vi_window_gran/1024); printf(" 0x%08x %2dk\n", - info.vi_buffer, info.vi_buffer_size); + info.vi_buffer, info.vi_buffer_size/1024); } }