diff options
author | yokota <yokota@FreeBSD.org> | 1998-10-01 11:40:22 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1998-10-01 11:40:22 +0000 |
commit | b500f8edcc0ce4ffa63b7eb7b23aad9cf51016fd (patch) | |
tree | f93d40dccff63d35d90b57546d7237e7071ddd0d /usr.sbin/vidcontrol/vidcontrol.c | |
parent | 3d34bf047babbcd0a199d4a7bc2464a62066bc78 (diff) | |
download | FreeBSD-src-b500f8edcc0ce4ffa63b7eb7b23aad9cf51016fd.zip FreeBSD-src-b500f8edcc0ce4ffa63b7eb7b23aad9cf51016fd.tar.gz |
- Express various sizes in bytes, rather than Kbytes, in the video
mode and adapter information structures.
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.c')
-rw-r--r-- | usr.sbin/vidcontrol/vidcontrol.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.c b/usr.sbin/vidcontrol/vidcontrol.c index 1553c34..d6a7df8 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 <ctype.h> @@ -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); } } |