Add backward compatibiulity with old (pxe) syntax. Several cleanups

This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2011-06-26 17:06:18 +02:00
1 parent bf651f7907
commit 80ca250565
5 files changed
+87 -38

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ grub_cmd_probe (grub_extcmd_context_t ctxt, int argc, char **args)
{
const char *val = "none";
if (dev->net)
val = dev->net->name;
val = dev->net->protocol->name;
if (dev->disk)
val = dev->disk->dev->name;
if (state[0].set)