summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat/pmcpl_calltree.c
diff options
context:
space:
mode:
authorfabient <fabient@FreeBSD.org>2010-03-05 23:08:19 +0000
committerfabient <fabient@FreeBSD.org>2010-03-05 23:08:19 +0000
commit3d20760d98d2746236db515c75b689d1a727e43d (patch)
tree869b43a22b983b17eaaa872d63e604a257eb455c /usr.sbin/pmcstat/pmcpl_calltree.c
parent75e5bed028aafc6ec0ba9982fae0b164a5b34237 (diff)
downloadFreeBSD-src-3d20760d98d2746236db515c75b689d1a727e43d.zip
FreeBSD-src-3d20760d98d2746236db515c75b689d1a727e43d.tar.gz
Bug fixed:
- no display on serial terminal in top mode. - display alignment for continuation string. - correct invalid value used for display limit. MFC after: 3 days
Diffstat (limited to 'usr.sbin/pmcstat/pmcpl_calltree.c')
-rw-r--r--usr.sbin/pmcstat/pmcpl_calltree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pmcstat/pmcpl_calltree.c b/usr.sbin/pmcstat/pmcpl_calltree.c
index 498092d..404653e 100644
--- a/usr.sbin/pmcstat/pmcpl_calltree.c
+++ b/usr.sbin/pmcstat/pmcpl_calltree.c
@@ -387,7 +387,7 @@ pmcpl_ct_node_dumptop(int pmcin, struct pmcpl_ct_node *ct,
if (ct->pct_narc == 0) {
pmcpl_ct_topscreen[x+1][*y] = NULL;
if (*y >= PMCPL_CT_MAXLINE ||
- *y >= pmcstat_displaywidth)
+ *y >= pmcstat_displayheight)
return 1;
*y = *y + 1;
for (i=0; i < x; i++)
OpenPOWER on IntegriCloud