bugfix burn_stack

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2009-11-10 20:46:05 +01:00
1 parent 39f7c91b50
commit 9f08f2a1fd
1 file changed
+2 -3
+2 -3
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));
}