bugfix burn_stack

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-11-10 20:46:05 +01:00
parent 39f7c91b50
commit 9f08f2a1fd

View file

@ -30,7 +30,6 @@ grub_burn_stack (grub_size_t size)
char buf[64];
grub_memset (buf, 0, sizeof (buf));
size -= sizeof (buf);
if (size > 0)
grub_burn_stack (size);
if (size > sizeof (buf))
grub_burn_stack (size - sizeof (buf));
}