about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/btree/bt_seq.c4
-rw-r--r--db/btree/bt_utils.c2
-rw-r--r--db/btree/btree.h2
-rw-r--r--db/hash/hash.h2
-rw-r--r--db/recno/rec_utils.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/db/btree/bt_seq.c b/db/btree/bt_seq.c
index eacef2998f..90f896036f 100644
--- a/db/btree/bt_seq.c
+++ b/db/btree/bt_seq.c
@@ -92,7 +92,7 @@ __bt_seq(dbp, key, data, flags)
 	}
 
 	/*
-	 * If scan unitialized as yet, or starting at a specific record, set
+	 * If scan uninitialized as yet, or starting at a specific record, set
 	 * the scan to a specific key.  Both __bt_seqset and __bt_seqadv pin
 	 * the page the cursor references if they're successful.
 	 */
@@ -364,7 +364,7 @@ __bt_first(t, key, erval, exactp)
 			*erval = *ep;
 			return (RET_SUCCESS);
 		}
-			
+
 		/*
 		 * Walk backwards, as long as the entry matches and there are
 		 * keys left in the tree.  Save a copy of each match in case
diff --git a/db/btree/bt_utils.c b/db/btree/bt_utils.c
index 9c1438eb84..1416c7862d 100644
--- a/db/btree/bt_utils.c
+++ b/db/btree/bt_utils.c
@@ -76,7 +76,7 @@ __bt_ret(t, e, key, rkey, data, rdata, copy)
 	bl = GETBLEAF(e->page, e->index);
 
 	/*
-	 * We must copy big keys/data to make them contigous.  Otherwise,
+	 * We must copy big keys/data to make them contiguous.  Otherwise,
 	 * leave the page pinned and don't copy unless the user specified
 	 * concurrent access.
 	 */
diff --git a/db/btree/btree.h b/db/btree/btree.h
index 36d35c998b..ab4c5b5ec4 100644
--- a/db/btree/btree.h
+++ b/db/btree/btree.h
@@ -161,7 +161,7 @@ typedef struct _rinternal {
 #define NRINTERNAL							\
 	LALIGN(sizeof(recno_t) + sizeof(pgno_t))
 
-/* Copy a RINTERAL entry to the page. */
+/* Copy a RINTERNAL entry to the page. */
 #define	WR_RINTERNAL(p, nrecs, pgno) {					\
 	*(recno_t *)p = nrecs;						\
 	p += sizeof(recno_t);						\
diff --git a/db/hash/hash.h b/db/hash/hash.h
index 1c599c112c..62176d7b1f 100644
--- a/db/hash/hash.h
+++ b/db/hash/hash.h
@@ -104,7 +104,7 @@ typedef struct htab	 {		/* Memory resident data structure */
 	int		cbucket;	/* Current bucket */
 	int		cndx;		/* Index of next item on cpage */
 	int		errnum;		/* Error Number -- for DBM
-					 * compatability */
+					 * compatibility */
 	int		new_file;	/* Indicates if fd is backing store
 					 * or no */
 	int		save_file;	/* Indicates whether we need to flush
diff --git a/db/recno/rec_utils.c b/db/recno/rec_utils.c
index baea3fad50..c4c0380461 100644
--- a/db/recno/rec_utils.c
+++ b/db/recno/rec_utils.c
@@ -90,7 +90,7 @@ dataonly:
 		return (RET_SUCCESS);
 
 	/*
-	 * We must copy big keys/data to make them contigous.  Otherwise,
+	 * We must copy big keys/data to make them contiguous.  Otherwise,
 	 * leave the page pinned and don't copy unless the user specified
 	 * concurrent access.
 	 */