svn commit: r298885 - head/usr.sbin/pmcstat

Pedro F. Giffuni pfg at FreeBSD.org
Sun May 1 16:40:57 UTC 2016


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);


More information about the svn-src-all mailing list