diff options
Diffstat (limited to 'sys/boot/common/module.c')
-rw-r--r-- | sys/boot/common/module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c index 5808587..e450fbd 100644 --- a/sys/boot/common/module.c +++ b/sys/boot/common/module.c @@ -289,7 +289,8 @@ file_load(char *filename, vm_offset_t dest, struct preloaded_file **result) break; } else if (last_file_format == i && i != 0) { /* Restart from the beginning */ - last_file_format = i = 0; + i = -1; + last_file_format = 0; fp = NULL; continue; } |