From: Florian Fainelli Date: Tue, 5 May 2009 06:32:45 +0000 (+0000) Subject: fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=369db35a29841d5feed37b3d0da4e4d79d5f9f3c;p=librecmc%2Flibrecmc.git fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053) SVN-Revision: 15611 --- 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. */