diff options
| author | Andrey V. Elsukov <ae@FreeBSD.org> | 2013-04-21 09:10:35 +0000 |
|---|---|---|
| committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2013-04-21 09:10:35 +0000 |
| commit | 584a9cf8bf526aac2eff95b7b6f7d5d519a060ae (patch) | |
| tree | bba43e6d1e28ecc0c3303e21c751927042bbfd19 /sys/boot | |
| parent | 4885497dc16106a3a507886054a1d76eddee3a7f (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -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 58085875a29b..e450fbde2c6b 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; } |
