fix some bugs in the example kernel and the Makefile entries.

This commit is contained in:
okuji committed 2001-01-11 23:33:09 +00:00
1 parent 7519621c59
commit acc6543257
10 files changed
+86 -69

No files matched your search

+2 -7
View File
@@ -1531,12 +1531,6 @@ ifconfig_func (char *arg, int flags)
return 1;
}
if (! *arg)
{
print_network_configuration ();
return 0;
}
while (*arg)
{
if (! grub_memcmp ("--server=", arg, sizeof ("--server=") - 1))
@@ -1562,6 +1556,7 @@ ifconfig_func (char *arg, int flags)
return 1;
}
print_network_configuration ();
return 0;
}
@@ -4147,7 +4142,7 @@ static struct builtin builtin_testvbe =
static int
tftpserver_func (char *arg, int flags)
{
if (! *arg || ! arp_server_override (arg))
if (! *arg || ! ifconfig (0, 0, 0, arg))
{
errnum = ERR_BAD_ARGUMENT;
return 1;