summaryrefslogtreecommitdiffstats
path: root/common/env_fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/env_fat.c')
-rw-r--r--common/env_fat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/env_fat.c b/common/env_fat.c
index e88279eb70..2f22710355 100644
--- a/common/env_fat.c
+++ b/common/env_fat.c
@@ -48,7 +48,7 @@ int saveenv(void)
if (err)
return err;
- part = get_device_and_partition(FAT_ENV_INTERFACE,
+ part = blk_get_device_part_str(FAT_ENV_INTERFACE,
FAT_ENV_DEVICE_AND_PART,
&dev_desc, &info, 1);
if (part < 0)
@@ -82,7 +82,7 @@ void env_relocate_spec(void)
int dev, part;
int err;
- part = get_device_and_partition(FAT_ENV_INTERFACE,
+ part = blk_get_device_part_str(FAT_ENV_INTERFACE,
FAT_ENV_DEVICE_AND_PART,
&dev_desc, &info, 1);
if (part < 0)
OpenPOWER on IntegriCloud