mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 17:49:23 +00:00
fix some bugs in the example kernel and the Makefile entries.
This commit is contained in:
1 parent
7519621c59
commit
acc6543257
10 files changed
+86
-69
No files matched your search
+2
-7
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user