summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-15 03:15:36 +0000
committerpfg <pfg@FreeBSD.org>2016-05-15 03:15:36 +0000
commit23f338f31131ff764dde3a562b5d85ef7618ab5b (patch)
tree4398e1a36010e89f685e91083a86f92bcb859dc3 /usr.sbin/pmcstat
parent43c202b5d356fab514defa4cbd675902bdb18abd (diff)
downloadFreeBSD-src-23f338f31131ff764dde3a562b5d85ef7618ab5b.zip
FreeBSD-src-23f338f31131ff764dde3a562b5d85ef7618ab5b.tar.gz
MFC r298881, 298882, 298883, 298885:
Minor spelling fixes in: tools, share, bluetooth, pmcstat, etc Many of these have user-visible strings.
Diffstat (limited to 'usr.sbin/pmcstat')
-rw-r--r--usr.sbin/pmcstat/pmcpl_calltree.c2
-rw-r--r--usr.sbin/pmcstat/pmcstat_log.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pmcstat/pmcpl_calltree.c b/usr.sbin/pmcstat/pmcpl_calltree.c
index 3d0127d..edfe85a 100644
--- a/usr.sbin/pmcstat/pmcpl_calltree.c
+++ b/usr.sbin/pmcstat/pmcpl_calltree.c
@@ -830,7 +830,7 @@ pmcpl_ct_node_printchild(struct pmcpl_ct_node *ct, uintfptr_t paddr,
/*
* Child cost.
- * TODO: attach child cost to the real position in the funtion.
+ * TODO: attach child cost to the real position in the function.
* TODO: cfn=<fn> / call <ncall> addr(<fn>) / addr(call <fn>) <arccost>
*/
for (i=0 ; i<ct->pct_narc; i++) {
diff --git a/usr.sbin/pmcstat/pmcstat_log.c b/usr.sbin/pmcstat/pmcstat_log.c
index f7a107d..14bfc0a 100644
--- a/usr.sbin/pmcstat/pmcstat_log.c
+++ b/usr.sbin/pmcstat/pmcstat_log.c
@@ -1361,7 +1361,7 @@ pmcstat_analyze_log(void)
assert(args.pa_flags & FLAG_DO_ANALYSIS);
if (elf_version(EV_CURRENT) == EV_NONE)
- err(EX_UNAVAILABLE, "Elf library intialization failed");
+ err(EX_UNAVAILABLE, "Elf library initialization failed");
while (pmclog_read(args.pa_logparser, &ev) == 0) {
assert(ev.pl_state == PMCLOG_OK);
OpenPOWER on IntegriCloud