From 369db35a29841d5feed37b3d0da4e4d79d5f9f3c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 5 May 2009 06:32:45 +0000 Subject: fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053) SVN-Revision: 15611 --- package/switch/src/switch-robo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/switch/src/switch-robo.c') diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c index 95cb3e23f7..a0051a32fe 100644 --- a/package/switch/src/switch-robo.c +++ b/package/switch/src/switch-robo.c @@ -73,7 +73,7 @@ extern char *nvram_get(const char *name); #define getvar(str) (nvram_get(str)?:"") #else -#define getvar(str) NULL +#define getvar(str) "" #endif /* Data structure for a Roboswitch device. */ -- cgit v1.2.3