summaryrefslogtreecommitdiff
path: root/cmd/part.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/part.c')
-rw-r--r--cmd/part.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/part.c b/cmd/part.c
index dd32d505b0..415b38a522 100644
--- a/cmd/part.c
+++ b/cmd/part.c
@@ -37,7 +37,7 @@ static int do_part_uuid(int argc, char * const argv[])
if (argc > 3)
return CMD_RET_USAGE;
- part = get_device_and_partition(argv[0], argv[1], &dev_desc, &info, 0);
+ part = blk_get_device_part_str(argv[0], argv[1], &dev_desc, &info, 0);
if (part < 0)
return 1;