[PATCH] sandbox: common: fix device names for environment files (-e)
Sascha Hauer
s.hauer at pengutronix.de
Wed Dec 16 02:43:14 EST 2009
Hi Peter,
On Tue, Dec 15, 2009 at 04:42:13PM +0100, Peter Korsgaard wrote:
> 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 at sunsite.dk>
Applied, thanks
Sascha
> ---
> 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
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the u-boot-v2
mailing list