The env%d string got created, but the the hardcoded "env" string was always used instead, causing errors with loading the env. Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx> --- arch/sandbox/os/common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/sandbox/os/common.c b/arch/sandbox/os/common.c index 90486f8..d63a2f4 100644 --- a/arch/sandbox/os/common.c +++ b/arch/sandbox/os/common.c @@ -317,7 +317,7 @@ int main(int argc, char *argv[]) break; case 'e': sprintf(str, "env%d", envno); - ret = add_image(optarg, "env"); + ret = add_image(optarg, str); if (ret) exit(1); envno++; -- 1.6.5 _______________________________________________ u-boot-v2 mailing list u-boot-v2@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/u-boot-v2