Correct expected argument numbers in del addr command.

This commit is contained in:
Manoel Rebelo Abranches 2011-05-10 09:28:45 -03:00
parent c5934345be
commit 4f7386025b

View file

@ -200,7 +200,7 @@ grub_cmd_deladdr (struct grub_command *cmd __attribute__ ((unused)),
{
struct grub_net_network_level_interface *inter;
if (argc != 4)
if (argc != 1)
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("one argument expected"));
FOR_NET_NETWORK_LEVEL_INTERFACES (inter)