aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/decompress_bunzip2.c4
-rw-r--r--lib/decompress_unlzma.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/decompress_bunzip2.c b/lib/decompress_bunzip2.c
index a7b80c1d6a0d..3380297768d8 100644
--- a/lib/decompress_bunzip2.c
+++ b/lib/decompress_bunzip2.c
@@ -691,7 +691,7 @@ STATIC int INIT bunzip2(unsigned char *buf, int len,
691 outbuf = malloc(BZIP2_IOBUF_SIZE); 691 outbuf = malloc(BZIP2_IOBUF_SIZE);
692 692
693 if (!outbuf) { 693 if (!outbuf) {
694 error("Could not allocate output bufer"); 694 error("Could not allocate output buffer");
695 return RETVAL_OUT_OF_MEMORY; 695 return RETVAL_OUT_OF_MEMORY;
696 } 696 }
697 if (buf) 697 if (buf)
@@ -699,7 +699,7 @@ STATIC int INIT bunzip2(unsigned char *buf, int len,
699 else 699 else
700 inbuf = malloc(BZIP2_IOBUF_SIZE); 700 inbuf = malloc(BZIP2_IOBUF_SIZE);
701 if (!inbuf) { 701 if (!inbuf) {
702 error("Could not allocate input bufer"); 702 error("Could not allocate input buffer");
703 i = RETVAL_OUT_OF_MEMORY; 703 i = RETVAL_OUT_OF_MEMORY;
704 goto exit_0; 704 goto exit_0;
705 } 705 }
diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c
index 476c65af9709..32adb73a9038 100644
--- a/lib/decompress_unlzma.c
+++ b/lib/decompress_unlzma.c
@@ -562,7 +562,7 @@ STATIC inline int INIT unlzma(unsigned char *buf, int in_len,
562 else 562 else
563 inbuf = malloc(LZMA_IOBUF_SIZE); 563 inbuf = malloc(LZMA_IOBUF_SIZE);
564 if (!inbuf) { 564 if (!inbuf) {
565 error("Could not allocate input bufer"); 565 error("Could not allocate input buffer");
566 goto exit_0; 566 goto exit_0;
567 } 567 }
568 568