* grub-core/io/lzopio.c (uncompress_block): Fix use of incorrect

variable.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-01-30 01:18:02 +01:00
parent 9079d3ed4e
commit 67639fd75e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-01-30 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/io/lzopio.c (uncompress_block): Fix use of incorrect
variable.
2012-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/posix_wrap/string.h (memchr): New function.

View file

@ -212,7 +212,7 @@ uncompress_block (struct grub_lzopio *lzopio)
if (lzopio->ucheck_fun)
{
grub_uint64_t context[(lzopio->ccheck_fun->contextsize + 7) / 8];
grub_uint64_t context[(lzopio->ucheck_fun->contextsize + 7) / 8];
lzopio->ucheck_fun->init (context);
lzopio->ucheck_fun->write (context, lzopio->block.udata,