summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/b64_decode.c2
-rw-r--r--src/lib/bootmem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/b64_decode.c b/src/lib/b64_decode.c
index 696652c0e0..9efa465c25 100644
--- a/src/lib/b64_decode.c
+++ b/src/lib/b64_decode.c
@@ -97,7 +97,7 @@ size_t b64_decode(const uint8_t *input_data,
bd.data_size = input_length;
bd.input_index = 0;
- while (1) { /* Until input is exausted. */
+ while (1) { /* Until input is exhausted. */
int v = get_next_char(&bd);
if (v < 0) {
diff --git a/src/lib/bootmem.c b/src/lib/bootmem.c
index 8ca3bbd3f6..0397594ef0 100644
--- a/src/lib/bootmem.c
+++ b/src/lib/bootmem.c
@@ -274,7 +274,7 @@ void *bootmem_allocate_buffer(size_t size)
end = max_addr;
begin = end - size;
- /* Mark buffer as unusuable for future buffer use. */
+ /* Mark buffer as unusable for future buffer use. */
bootmem_add_range(begin, size, BM_MEM_PAYLOAD);
return (void *)(uintptr_t)begin;