aboutsummaryrefslogtreecommitdiff
path: root/cmd/bootdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bootdev.c')
-rw-r--r--cmd/bootdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bootdev.c b/cmd/bootdev.c
index 28866faac7..5b1efaaee8 100644
--- a/cmd/bootdev.c
+++ b/cmd/bootdev.c
@@ -57,7 +57,7 @@ static int do_bootdev_select(struct cmd_tbl *cmdtp, int flag, int argc,
std->cur_bootdev = NULL;
return 0;
}
- if (bootdev_find_by_any(argv[1], &dev))
+ if (bootdev_find_by_any(argv[1], &dev, NULL))
return CMD_RET_FAILURE;
std->cur_bootdev = dev;