[PATCH 1/1 - Corrected] Fix bug in export 64 bit unsigned environment variable.
Michael D. Burkey
mdburkey at gmail.com
Thu Apr 10 13:32:38 PDT 2014
The first time I sent this I apparently typed a character into the
wrong window before I sent it and didn't notice it.
-------------------------------------------------------------------------
--- 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);
More information about the barebox
mailing list