2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>

* normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-11-09 00:28:10 +01:00
parent c1129f0392
commit 7ad12f433d
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2009-11-09 Vladimir Serbinenko <phcoder@gmail.com>
* normal/auth.c (grub_auth_strcmp): Fixed incorrect variable usage.
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
* util/i386/coreboot/grub-mkrescue.in: New file.

View file

@ -40,7 +40,7 @@ grub_auth_strcmp (const char *user_input, const char *template)
int ok = 1;
const char *ptr1, *ptr2;
if (ptr2 == NULL)
if (template == NULL)
ok = 0;
for (ptr1 = user_input, ptr2 = template; *ptr1; ptr1++)