Since we didn't break the loop, we should set i to -1 to start from the
beginning. Submitted by: Steven Hartland MFC after: 1 week
This commit is contained in:
parent
4885497dc1
commit
584a9cf8bf
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user