env: Rename getenv/_f() to env_get()
[oweals/u-boot.git] / disk / part.c
index d76aa903a8c6deba137d710e6be320fe566056bb..c67fdacc79257f12b64583de2bd845cb98445151 100644 (file)
@@ -455,7 +455,7 @@ int blk_get_device_part_str(const char *ifname, const char *dev_part_str,
        /* If no dev_part_str, use bootdevice environment variable */
        if (!dev_part_str || !strlen(dev_part_str) ||
            !strcmp(dev_part_str, "-"))
-               dev_part_str = getenv("bootdevice");
+               dev_part_str = env_get("bootdevice");
 
        /* If still no dev_part_str, it's an error */
        if (!dev_part_str) {