aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pmcstat
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:40:56 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:40:56 +0000
commitd7b1cc0a3ce031d368e77a972a24064077168a85 (patch)
treef93fda4c956bf03fd8097c5b746a8b7723ad17c9 /usr.sbin/pmcstat
parentec65e4f8d0654361df5e97d4de3518edebf76b46 (diff)
downloadsrc-d7b1cc0a3ce031d368e77a972a24064077168a85.tar.gz
src-d7b1cc0a3ce031d368e77a972a24064077168a85.zip
pmcstat: minor spelling fixes.
Mostly comments bur also a user-visible string. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=298885
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 3d0127d5a20d..edfe85a57966 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 ea9b547ff963..26f3615e9b7c 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);