diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/pstore/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c index 57b4219398cd..c853e05cd7f6 100644 --- a/fs/pstore/platform.c +++ b/fs/pstore/platform.c | |||
@@ -168,7 +168,7 @@ static int pstore_decompress(void *in, void *out, size_t inlen, size_t outlen) | |||
168 | int err, ret; | 168 | int err, ret; |
169 | 169 | ||
170 | ret = -EIO; | 170 | ret = -EIO; |
171 | err = zlib_inflateInit(&stream); | 171 | err = zlib_inflateInit2(&stream, WINDOW_BITS); |
172 | if (err != Z_OK) | 172 | if (err != Z_OK) |
173 | goto error; | 173 | goto error; |
174 | 174 | ||