Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/env.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/env.c b/common/env.c index edaf388..f81bd46 100644 --- a/common/env.c +++ b/common/env.c @@ -137,7 +137,7 @@ const char *getenv (const char *name) const char *val; if (strchr(name, '.')) { - const char *ret = 0; + const char *ret = NULL; char *devstr = strdup(name); char *par = strchr(devstr, '.'); struct device_d *dev; -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox