[PATCH] commands: Fix memtest return value

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 2 04:50:27 EDT 2013


On Mon, Sep 02, 2013 at 08:38:29AM +0200, Christian Hemp wrote:
> Signed-off-by: Christian Hemp <c.hemp at phytec.de>

Applied, thanks

Sascha

> ---
>  commands/memtest.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/commands/memtest.c b/commands/memtest.c
> index d2a1487..c82badc 100644
> --- a/commands/memtest.c
> +++ b/commands/memtest.c
> @@ -236,7 +236,7 @@ out:
>  		return 1;
>  	} else {
>  		printf("Memtest successful.\n");
> -		return 1;
> +		return 0;
>  	}
>  }
>  
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
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 barebox mailing list