summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pmcstat
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
commit415a3a9b966c1522657d435a1785904f41accc78 (patch)
tree8895a44928d5c242eb33f5909e96b16aa8b19f50 /usr.sbin/pmcstat
parentc12910138c122eb89614cb32832cc1e81e4c23a7 (diff)
downloadFreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.zip
FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.tar.gz
Spelling fixes for usr.sbin/
Diffstat (limited to 'usr.sbin/pmcstat')
-rw-r--r--usr.sbin/pmcstat/pmcpl_calltree.c2
-rw-r--r--usr.sbin/pmcstat/pmcpl_gprof.c2
-rw-r--r--usr.sbin/pmcstat/pmcstat.c2
-rw-r--r--usr.sbin/pmcstat/pmcstat_log.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pmcstat/pmcpl_calltree.c b/usr.sbin/pmcstat/pmcpl_calltree.c
index 3f3f717..0069330 100644
--- a/usr.sbin/pmcstat/pmcpl_calltree.c
+++ b/usr.sbin/pmcstat/pmcpl_calltree.c
@@ -862,7 +862,7 @@ pmcpl_ct_node_printchild(struct pmcpl_ct_node *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++) {
diff --git a/usr.sbin/pmcstat/pmcpl_gprof.c b/usr.sbin/pmcstat/pmcpl_gprof.c
index 8e4cc79..9ff78e8 100644
--- a/usr.sbin/pmcstat/pmcpl_gprof.c
+++ b/usr.sbin/pmcstat/pmcpl_gprof.c
@@ -326,7 +326,7 @@ pmcpl_gmon_initimage(struct pmcstat_image *pi)
else {
/*
* Otherwise use a prefix from the original name and
- * upto 3 digits.
+ * up to 3 digits.
*/
nlen = strlen(sn);
nlen = min(nlen, (int) (sizeof(name)-sizeof("~NNN.gmon")));
diff --git a/usr.sbin/pmcstat/pmcstat.c b/usr.sbin/pmcstat/pmcstat.c
index 8c54a29..8f13206 100644
--- a/usr.sbin/pmcstat/pmcstat.c
+++ b/usr.sbin/pmcstat/pmcstat.c
@@ -98,7 +98,7 @@ __FBSDID("$FreeBSD$");
* and starts them. Sets up
* monitoring for the child.
* - Signals child to start.
- * - Recieves signal, attempts exec().
+ * - Receives signal, attempts exec().
*
* After this point normal processing can happen.
*/
diff --git a/usr.sbin/pmcstat/pmcstat_log.c b/usr.sbin/pmcstat/pmcstat_log.c
index 6c0eb14..db526e3 100644
--- a/usr.sbin/pmcstat/pmcstat_log.c
+++ b/usr.sbin/pmcstat/pmcstat_log.c
@@ -254,7 +254,7 @@ static void pmcstat_stats_reset(int _reset_global);
/*
* A simple implementation of interned strings. Each interned string
* is assigned a unique address, so that subsequent string compares
- * can be done by a simple pointer comparision instead of using
+ * can be done by a simple pointer comparison instead of using
* strcmp(). This speeds up hash table lookups and saves memory if
* duplicate strings are the norm.
*/
OpenPOWER on IntegriCloud