* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args):
Issue error rather than printf on unknown arguments.
This commit is contained in:
parent
4c458569a7
commit
63a9e6f6a0
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_parse_args):
|
||||
Issue error rather than printf on unknown arguments.
|
||||
|
||||
2011-11-11 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/ieee1275/ieee1275.c (grub_ieee1275_set_property):
|
||||
|
|
|
@ -403,7 +403,8 @@ grub_ieee1275_parse_args (const char *path, enum grub_ieee1275_parse_type ptype)
|
|||
break;
|
||||
default:
|
||||
unknown:
|
||||
grub_printf ("Unsupported type %s for device %s\n", type, device);
|
||||
grub_error (GRUB_ERR_NOT_IMPLEMENTED_YET,
|
||||
"unsupported type %s for device %s", type, device);
|
||||
}
|
||||
|
||||
fail:
|
||||
|
|
Loading…
Reference in a new issue