2009-06-19 Vladimir Serbinenko <phcoder@gmail.com>
* disk/scsi.c (grub_scsi_open): use continue instead of big if
This commit is contained in:
parent
e14cd81437
commit
3ac72b5131
2 changed files with 61 additions and 58 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-06-19 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* disk/scsi.c (grub_scsi_open): use continue instead of big if
|
||||
|
||||
2009-06-18 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* conf/common.rmk: Add fs_file.mod.
|
||||
|
|
|
@ -246,8 +246,8 @@ grub_scsi_open (const char *name, grub_disk_t disk)
|
|||
|
||||
for (p = grub_scsi_dev_list; p; p = p->next)
|
||||
{
|
||||
if (! p->open (name, scsi))
|
||||
{
|
||||
if (p->open (name, scsi))
|
||||
continue;
|
||||
disk->id = (unsigned long) "scsi"; /* XXX */
|
||||
disk->data = scsi;
|
||||
scsi->dev = p;
|
||||
|
@ -306,7 +306,6 @@ grub_scsi_open (const char *name, grub_disk_t disk)
|
|||
|
||||
return GRUB_ERR_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
grub_free (scsi);
|
||||
|
||||
|
|
Loading…
Reference in a new issue