summaryrefslogtreecommitdiffstats
path: root/src/hci/commands/pci_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci/commands/pci_cmd.c')
-rw-r--r--src/hci/commands/pci_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hci/commands/pci_cmd.c b/src/hci/commands/pci_cmd.c
index f2d695697..f5145fb35 100644
--- a/src/hci/commands/pci_cmd.c
+++ b/src/hci/commands/pci_cmd.c
@@ -68,8 +68,8 @@ static int pciscan_exec ( int argc, char **argv ) {
goto err_parse_setting;
/* Determine starting bus:dev.fn address */
- if ( ( len = fetch_uint_setting ( setting.settings, &setting.setting,
- &prev ) ) < 0 ) {
+ if ( ( len = fetchn_setting ( setting.settings, &setting.setting,
+ NULL, &setting.setting, &prev ) ) < 0 ) {
/* Setting not yet defined: start searching from 00:00.0 */
prev = 0;
} else {