summaryrefslogtreecommitdiffstats
path: root/decompress_lunzip.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-09-24 12:33:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-09-24 12:33:59 +0000
commit49939235e7e9dc44be30d428909a83bcb6893222 (patch)
treeb08fea28574729e30050cd927b0abe77d39d8345 /decompress_lunzip.c
parentAdding upstream version 0.3. (diff)
downloadxlunzip-upstream/0.4.tar.xz
xlunzip-upstream/0.4.zip
Adding upstream version 0.4.upstream/0.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--decompress_lunzip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/decompress_lunzip.c b/decompress_lunzip.c
index 106c95b..f7da1fc 100644
--- a/decompress_lunzip.c
+++ b/decompress_lunzip.c
@@ -8,7 +8,7 @@
#ifdef STATIC
#define PREBOOT
-#include "lzip.c"
+#include "lzip_decompress.c"
#else
#include "linux_lzip.h"
#include "linux_lunzip.h"
@@ -69,9 +69,9 @@ STATIC int INIT __lunzip(unsigned char *inbuf, long in_len,
}
#ifndef PREBOOT
-/* decompress_fn (see linux/decompress/generic.h) should have an out_size
- * argument to prevent overrunning outbuf in case of corruption of the
- * compressed data.
+/* decompress_fn (see include/linux/decompress/generic.h) should have an
+ * out_size argument to prevent overflowing outbuf in case of corruption
+ * of the compressed data.
*/
STATIC int INIT lunzip(unsigned char *inbuf, long in_len,
long (*fill)(void*, unsigned long),