summaryrefslogtreecommitdiff
path: root/src/lib/memrange.c
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-07-09 21:51:14 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 20:17:51 +0200
commitcbf2bd715a6a3c5d758c52b4634284b260805d17 (patch)
tree7ab8f3e81ac8ca14c6c37e4bf733332a99d0acb1 /src/lib/memrange.c
parent63373edce006983d1e2aef7d71c1653ae337ed18 (diff)
lib: Fix spelling
Change-Id: I999987af9cb44906e3c3135c0351a0cd6eb210ff Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3756 Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/lib/memrange.c')
-rw-r--r--src/lib/memrange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/memrange.c b/src/lib/memrange.c
index 1a16ef73ab..af56e72159 100644
--- a/src/lib/memrange.c
+++ b/src/lib/memrange.c
@@ -183,7 +183,7 @@ static void merge_add_memranges(struct memranges *ranges,
remove_memranges(ranges, begin, end, -1);
/* Find the entry to place the new entry after. Since
- * remove_memranges() was called above there is a guranteed
+ * remove_memranges() was called above there is a guaranteed
* spot for this new entry. */
for (cur = ranges->entries; cur != NULL; cur = cur->next) {
/* Found insertion spot before current entry. */
@@ -292,7 +292,7 @@ void memranges_fill_holes_up_to(struct memranges *ranges,
continue;
}
- /* If the previous entry does not directly preceed the current
+ /* If the previous entry does not directly precede the current
* entry then add a new entry just after the previous one. */
if (range_entry_end(prev) != cur->begin) {
resource_t end;