aboutsummaryrefslogtreecommitdiff
path: root/stand/uboot/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stand/uboot/main.c')
-rw-r--r--stand/uboot/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/uboot/main.c b/stand/uboot/main.c
index 6648dc607c11..573995663fe4 100644
--- a/stand/uboot/main.c
+++ b/stand/uboot/main.c
@@ -533,7 +533,7 @@ main(int argc, char **argv)
return (0xbadef1ce);
}
- ldev = uboot_fmtdev(&currdev);
+ ldev = devformat(&currdev.dd);
env_setenv("currdev", EV_VOLATILE, ldev, uboot_setcurrdev, env_nounset);
env_setenv("loaddev", EV_VOLATILE, ldev, env_noset, env_nounset);
printf("Booting from %s\n", ldev);