summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2011-12-05 13:00:34 +0100
committerJiri Kosina <jkosina@suse.cz>2011-12-06 09:53:40 +0100
commit90802ed9c3dbab2e067bd9fc67a30e66e6774e8f (patch)
treeac379380a669ad3c2a7ab0c3d923f1e9644ae885 /lib
parent05183189ee5df8799b22c56d93f0f69b8490e33f (diff)
downloadlinux-stable-90802ed9c3dbab2e067bd9fc67a30e66e6774e8f.tar.gz
linux-stable-90802ed9c3dbab2e067bd9fc67a30e66e6774e8f.tar.bz2
linux-stable-90802ed9c3dbab2e067bd9fc67a30e66e6774e8f.zip
treewide: Fix comment and string typo 'bufer'
Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
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,
outbuf = malloc(BZIP2_IOBUF_SIZE);
if (!outbuf) {
- error("Could not allocate output bufer");
+ error("Could not allocate output buffer");
return RETVAL_OUT_OF_MEMORY;
}
if (buf)
@@ -699,7 +699,7 @@ STATIC int INIT bunzip2(unsigned char *buf, int len,
else
inbuf = malloc(BZIP2_IOBUF_SIZE);
if (!inbuf) {
- error("Could not allocate input bufer");
+ error("Could not allocate input buffer");
i = RETVAL_OUT_OF_MEMORY;
goto exit_0;
}
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,
else
inbuf = malloc(LZMA_IOBUF_SIZE);
if (!inbuf) {
- error("Could not allocate input bufer");
+ error("Could not allocate input buffer");
goto exit_0;
}