Adapt protocols to new network struct.

This commit is contained in:
Manoel Rebelo Abranches 2011-04-01 05:42:34 -03:00
parent 09375846b9
commit 25f1579b43
15 changed files with 296 additions and 208 deletions

View file

@ -95,7 +95,7 @@ grub_fs_probe (grub_device_t device)
}
}
else if (device->net)
return device->net->protocol;
return NULL;
grub_error (GRUB_ERR_UNKNOWN_FS, "unknown filesystem");
return 0;