Author: pfg
Date: Sun May  1 16:40:56 2016
New Revision: 298885
URL: https://svnweb.freebsd.org/changeset/base/298885

Log:
  pmcstat: minor spelling fixes.
  
  Mostly comments bur also a user-visible string.
  
  MFC after:    2 weeks

Modified:
  head/usr.sbin/pmcstat/pmcpl_calltree.c
  head/usr.sbin/pmcstat/pmcstat_log.c

Modified: head/usr.sbin/pmcstat/pmcpl_calltree.c
==============================================================================
--- head/usr.sbin/pmcstat/pmcpl_calltree.c      Sun May  1 16:38:12 2016        
(r298884)
+++ head/usr.sbin/pmcstat/pmcpl_calltree.c      Sun May  1 16:40:56 2016        
(r298885)
@@ -830,7 +830,7 @@ pmcpl_ct_node_printchild(struct pmcpl_ct
 
        /*
         * 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++) {

Modified: head/usr.sbin/pmcstat/pmcstat_log.c
==============================================================================
--- head/usr.sbin/pmcstat/pmcstat_log.c Sun May  1 16:38:12 2016        
(r298884)
+++ head/usr.sbin/pmcstat/pmcstat_log.c Sun May  1 16:40:56 2016        
(r298885)
@@ -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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to