summaryrefslogtreecommitdiff
path: root/gpxe/src/hci/commands/config_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/hci/commands/config_cmd.c')
-rw-r--r--gpxe/src/hci/commands/config_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpxe/src/hci/commands/config_cmd.c b/gpxe/src/hci/commands/config_cmd.c
index 660c6423..87abb05a 100644
--- a/gpxe/src/hci/commands/config_cmd.c
+++ b/gpxe/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;