mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_iterate): Fix double
increment.
This commit is contained in:
1 parent
9b55efe09a
commit
538478d082
2 files changed
+6
-1
No files matched your search
@@ -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++ = '\\';
|
||||
|
||||
Reference in new issue
Block a user