Correct expected argument numbers in del addr command.

This commit is contained in:
Manoel Rebelo Abranches committed 2011-05-10 09:28:45 -03:00
1 parent c5934345be
commit 4f7386025b
1 file changed
+1 -1
+1 -1
View File
@@ -200,7 +200,7 @@ grub_cmd_deladdr (struct grub_command *cmd __attribute__ ((unused)),
{ {
struct grub_net_network_level_interface *inter; struct grub_net_network_level_interface *inter;
if (argc != 4) if (argc != 1)
return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("one argument expected")); return grub_error (GRUB_ERR_BAD_ARGUMENT, N_("one argument expected"));
FOR_NET_NETWORK_LEVEL_INTERFACES (inter) FOR_NET_NETWORK_LEVEL_INTERFACES (inter)