diff options
author | Michael Brown | 2008-10-12 15:37:51 +0200 |
---|---|---|
committer | Michael Brown | 2008-10-12 16:11:10 +0200 |
commit | 941b4c2adb160096dbb97b0181103c7302293ab9 (patch) | |
tree | 629697b4a29dcb6f990b3aa8dea0fbe3f5e75538 /src/hci/commands | |
parent | [pci] Formalise the PCI I/O API (diff) | |
download | ipxe-941b4c2adb160096dbb97b0181103c7302293ab9.tar.gz ipxe-941b4c2adb160096dbb97b0181103c7302293ab9.tar.xz ipxe-941b4c2adb160096dbb97b0181103c7302293ab9.zip |
[commands] Fix config command to accept zero arguments
Diffstat (limited to 'src/hci/commands')
-rw-r--r-- | src/hci/commands/config_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/commands/config_cmd.c b/src/hci/commands/config_cmd.c index 660c6423..87abb05a 100644 --- a/src/hci/commands/config_cmd.c +++ b/src/hci/commands/config_cmd.c @@ -16,7 +16,7 @@ static int config_exec ( int argc, char **argv ) { } settings_name = ( ( argc == 2 ) ? argv[1] : "" ); - settings = find_settings ( argv[1] ); + settings = find_settings ( settings_name ); if ( ! settings ) { printf ( "No such scope \"%s\"\n", settings_name ); return 1; |