diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-10-12 14:37:51 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-10-12 15:11:10 +0100 |
commit | 941b4c2adb160096dbb97b0181103c7302293ab9 (patch) | |
tree | 629697b4a29dcb6f990b3aa8dea0fbe3f5e75538 /src/hci/commands | |
parent | 8a4ccebec91717500bc0de867fc2ead7187657fa (diff) | |
download | ipxe-941b4c2adb160096dbb97b0181103c7302293ab9.tar.gz |
[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; |