aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2017-08-15 02:21:02 +0000
committerConrad Meyer <cem@FreeBSD.org>2017-08-15 02:21:02 +0000
commitf3fed04372a3ecc37ffac900358d5bb0100b10db (patch)
treed8a75a3685f0af7304977a4e7be2ef33fd1bad62 /sys
parentb53a8df3aa52edca68051afa9dc295b9067bd6e2 (diff)
downloadsrc-f3fed04372a3ecc37ffac900358d5bb0100b10db.tar.gz
src-f3fed04372a3ecc37ffac900358d5bb0100b10db.zip
Fix a couple of comment typos
No functional change. Submitted by: Anton Rang <anton.rang AT isilon.com> Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=322526
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_ktr.c2
-rw-r--r--sys/kern/subr_smp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_ktr.c b/sys/kern/kern_ktr.c
index 1af3b94f55d4..be54d705cde7 100644
--- a/sys/kern/kern_ktr.c
+++ b/sys/kern/kern_ktr.c
@@ -416,7 +416,7 @@ DB_SHOW_COMMAND(ktr, db_ktr_all)
tstate.first = -1;
db_ktr_verbose = 0;
db_ktr_verbose |= (strchr(modif, 'v') != NULL) ? 2 : 0;
- db_ktr_verbose |= (strchr(modif, 'V') != NULL) ? 1 : 0; /* just timestap please */
+ db_ktr_verbose |= (strchr(modif, 'V') != NULL) ? 1 : 0; /* just timestamp please */
if (strchr(modif, 'a') != NULL) {
db_disable_pager();
while (cncheckc() == -1)
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index f768ea3b6812..0179038ede36 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -823,7 +823,7 @@ smp_no_rendezvous_barrier(void *dummy)
}
/*
- * Wait specified idle threads to switch once. This ensures that even
+ * Wait for specified idle threads to switch once. This ensures that even
* preempted threads have cycled through the switch function once,
* exiting their codepaths. This allows us to change global pointers
* with no other synchronization.