summaryrefslogtreecommitdiffstats
path: root/lib/libkvm
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-01 19:37:33 +0000
committerpfg <pfg@FreeBSD.org>2016-05-01 19:37:33 +0000
commit9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5 (patch)
tree0915c4e45d9b930a70f4e5e0d87c272630e6ade2 /lib/libkvm
parentb40040b0194300dfa5b68ecd084dde2ce667c9bc (diff)
downloadFreeBSD-src-9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5.zip
FreeBSD-src-9e7434b2c5c2ce4f2a9aa3e84de3e7cf33a910d5.tar.gz
lib: minor spelling fixes in comments.
No functional change.
Diffstat (limited to 'lib/libkvm')
-rw-r--r--lib/libkvm/kvm.c4
-rw-r--r--lib/libkvm/kvm_pcpu.c2
-rw-r--r--lib/libkvm/kvm_vnet.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c
index de21f39..5ad8dcc 100644
--- a/lib/libkvm/kvm.c
+++ b/lib/libkvm/kvm.c
@@ -237,7 +237,7 @@ _kvm_is_minidump(kvm_t *kd)
* header from the core before treating it as an ELF header.
*
* We can add that here if we can get a change to libelf to support
- * an inital offset into the file. Alternatively we could patch
+ * an initial offset into the file. Alternatively we could patch
* savecore to extract cores from a regular file instead.
*/
int
@@ -756,7 +756,7 @@ kvm_nlist2(kvm_t *kd, struct kvm_nlist *nl)
{
/*
- * If called via the public interface, permit intialization of
+ * If called via the public interface, permit initialization of
* further virtualized modules on demand.
*/
return (_kvm_nlist(kd, nl, 1));
diff --git a/lib/libkvm/kvm_pcpu.c b/lib/libkvm/kvm_pcpu.c
index eaea7e4..68dd363 100644
--- a/lib/libkvm/kvm_pcpu.c
+++ b/lib/libkvm/kvm_pcpu.c
@@ -266,7 +266,7 @@ _kvm_dpcpu_init(kvm_t *kd)
}
/*
- * Check whether the dpcpu module has been initialized sucessfully or not,
+ * Check whether the dpcpu module has been initialized successfully or not,
* initialize it if permitted.
*/
int
diff --git a/lib/libkvm/kvm_vnet.c b/lib/libkvm/kvm_vnet.c
index d9bdf55..817462c 100644
--- a/lib/libkvm/kvm_vnet.c
+++ b/lib/libkvm/kvm_vnet.c
@@ -127,7 +127,7 @@ _kvm_vnet_selectpid(kvm_t *kd, pid_t pid)
/*
* First, find the process for this pid. If we are working on a
- * dump, either locate the thread dumptid is refering to or proc0.
+ * dump, either locate the thread dumptid is referring to or proc0.
* Based on either, take the address of the ucred.
*/
credp = 0;
@@ -208,7 +208,7 @@ _kvm_vnet_selectpid(kvm_t *kd, pid_t pid)
}
/*
- * Check whether the vnet module has been initialized sucessfully
+ * Check whether the vnet module has been initialized successfully
* or not, initialize it if permitted.
*/
int
OpenPOWER on IntegriCloud