summaryrefslogtreecommitdiff
path: root/cmd/unzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/unzip.c')
-rw-r--r--cmd/unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/unzip.c b/cmd/unzip.c
index 5be156644c..a8bcb1f529 100644
--- a/cmd/unzip.c
+++ b/cmd/unzip.c
@@ -53,7 +53,7 @@ static int do_gzwrite(cmd_tbl_t *cmdtp, int flag,
if (argc < 5)
return CMD_RET_USAGE;
- ret = get_device(argv[1], argv[2], &bdev);
+ ret = blk_get_device_by_str(argv[1], argv[2], &bdev);
if (ret < 0)
return CMD_RET_FAILURE;