[PATCH] of: property: fix error message

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 26 01:27:49 EDT 2013


On Thu, Apr 25, 2013 at 05:12:22PM +0200, Steffen Trumtrar wrote:
> At least in standard oxford english one not is enough.

:)

Applied, thanks

Sascha

> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> ---
>  commands/of_property.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/commands/of_property.c b/commands/of_property.c
> index 6311b70..44bb388 100644
> --- a/commands/of_property.c
> +++ b/commands/of_property.c
> @@ -62,7 +62,7 @@ static int of_parse_prop_cells(char * const *newval, int count, char *data, int
>  
>  		/* If the ptr didn't advance, something went wrong */
>  		if ((newp - cp) <= 0) {
> -			printf("cannot not convert \"%s\"\n", cp);
> +			printf("cannot convert \"%s\"\n", cp);
>  			return -EINVAL;
>  		}
>  
> @@ -105,7 +105,7 @@ static int of_parse_prop_stream(char * const *newval, int count, char *data, int
>  
>  		/* If the ptr didn't advance, something went wrong */
>  		if ((newp - cp) <= 0) {
> -			printf("cannot not convert \"%s\"\n", cp);
> +			printf("cannot convert \"%s\"\n", cp);
>  			return -EINVAL;
>  		}
>  	}
> -- 
> 1.8.2.rc2
> 
> 
> _______________________________________________
> 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