summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-01 16:40:56 +0000
committerpfg <pfg@FreeBSD.org>2016-05-01 16:40:56 +0000
commit23242cec26e25215295c58ecc10080af68091e27 (patch)
treef93fda4c956bf03fd8097c5b746a8b7723ad17c9 /usr.sbin
parentab8536c4265324c856d916097a628ea66c5a10d6 (diff)
downloadFreeBSD-src-23242cec26e25215295c58ecc10080af68091e27.zip
FreeBSD-src-23242cec26e25215295c58ecc10080af68091e27.tar.gz
pmcstat: minor spelling fixes.
Mostly comments bur also a user-visible string. MFC after: 2 weeks
Diffstat (limited to 'usr.sbin')
-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 ea9b547..26f3615 100644
--- a/usr.sbin/pmcstat/pmcstat_log.c
+++ b/usr.sbin/pmcstat/pmcstat_log.c
@@ -1372,7 +1372,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