From 6de93941c2464ee580e3cd6dea59d6f8f91e3d22 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 15 Oct 2010 09:29:17 +0200 Subject: common/env.c: sparse fixes Signed-off-by: Sascha Hauer --- common/env.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/env.c') diff --git a/common/env.c b/common/env.c index edaf388956..f81bd468ff 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; -- cgit v1.2.3