diff options
Diffstat (limited to 'sys/boot/common')
-rw-r--r-- | sys/boot/common/module.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c index 6203fb2a..96c0a58 100644 --- a/sys/boot/common/module.c +++ b/sys/boot/common/module.c @@ -288,10 +288,10 @@ file_load(char *filename, vm_offset_t dest, struct preloaded_file **result) *result = fp; break; } else if (last_file_format == i && i != 0) { - /* Restart from the beginning */ - last_file_format = i = 0; - fp = NULL; - continue; + /* Restart from the beginning */ + last_file_format = i = 0; + fp = NULL; + continue; } if (error == EFTYPE) continue; /* Unknown to this handler? */ |