* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix double

increment.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-21 21:59:52 +02:00
parent 9b55efe09a
commit 538478d082
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-06-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix double
increment.
2012-06-20 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/dns.c (grub_cmd_nslookup): Use configured DNS servers if

View file

@ -269,7 +269,7 @@ grub_ofdisk_iterate (int (*hook) (const char *name),
const char *iptr;
char *optr;
optr = grub_stpcpy (buffer, "ieee1275/");
for (iptr = ent->shortest; *iptr; iptr++)
for (iptr = ent->shortest; *iptr; )
{
if (*iptr == ',')
*optr++ = '\\';