[PATCH 1/1 - Corrected] Fix bug in export 64 bit unsigned environment variable.

Sascha Hauer s.hauer at pengutronix.de
Wed Apr 23 03:37:12 PDT 2014


Hi Michael,

On Thu, Apr 10, 2014 at 04:32:38PM -0400, Michael D. Burkey wrote:
> The first time I sent this I apparently typed a character into the
> wrong window before I sent it and didn't notice it.

The patch is ok. Please resend this with a propert signed-off-by line so
I can apply it.

Sascha

> 
> -------------------------------------------------------------------------
> 
> --- a/common/env.c
> +++ b/common/env.c
> @@ -258,7 +258,7 @@
> 
>  void export_env_ull(const char *name, unsigned long long val)
>  {
> -       char *valstr = asprintf("%lld", val);
> +       char *valstr = asprintf("%llu", val);
> 
>         setenv(name, valstr);
>         export(name);
> 
> _______________________________________________
> 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