projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2efa7
)
Fix uninitialized variable in cbfs menu code.
author
Kevin O'Connor
<kevin@koconnor.net>
Sun, 20 Sep 2009 19:42:39 +0000
(15:42 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sun, 20 Sep 2009 19:42:39 +0000
(15:42 -0400)
src/boot.c
patch
|
blob
|
history
diff --git
a/src/boot.c
b/src/boot.c
index b70d49cb01970870d06dcc7703bea921899fb55d..b6afd351b524f9779c16d3d5e76b173c6d20757b 100644
(file)
--- a/
src/boot.c
+++ b/
src/boot.c
@@
-188,7
+188,7
@@
static int
menu_show_cbfs(struct ipl_entry_s *ie, int menupos)
{
int count = 0;
- struct cbfs_file *file;
+ struct cbfs_file *file
= NULL
;
for (;;) {
file = cbfs_findprefix("img/", file);
if (!file)
@@
-229,7
+229,7
@@
interactive_bootmenu()
int i;
for (i = 0; i < IPL.bevcount; i++) {
struct ipl_entry_s *ie = &IPL.bev[i];
- int sc
= 1
;
+ int sc;
switch (ie->type) {
case IPL_TYPE_FLOPPY:
sc = menu_show_floppy(ie, menupos);