summaryrefslogtreecommitdiff
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 14:21:14 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-05-02 14:21:14 +0000
commite911eafcbae5366e66f9560ca18bf60c5f8157a4 (patch)
treec11aef2f7af5663393e978cd03a223a2ffbe6c69 /sys/kern/tty.c
parent74de633578b6bec2359f61c95bbbcb4f50a3599b (diff)
Notes
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 188a132c4976..7815b6d05b47 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)tty.c 8.8 (Berkeley) 1/21/94
- * $Id: tty.c,v 1.79 1996/03/02 18:24:06 peter Exp $
+ * $Id: tty.c,v 1.80 1996/03/11 06:05:03 hsu Exp $
*/
/*-
@@ -2199,7 +2199,7 @@ ttyinfo(tp)
ttyprintf(tp, "%d.%02ds ",
stime.tv_sec, stime.tv_usec / 10000);
-#define pgtok(a) (((a) * NBPG) / 1024)
+#define pgtok(a) (((a) * PAGE_SIZE) / 1024)
/* Print percentage cpu, resident set size. */
tmp = (pick->p_pctcpu * 10000 + FSCALE / 2) >> FSHIFT;
ttyprintf(tp, "%d%% %dk\n",