From cceb94e7755324dc8492f94c59cbcb86ebc36a48 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 5 May 2009 06:32:45 +0000 Subject: [PATCH] [package] fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15611 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/switch/src/switch-robo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/switch/src/switch-robo.c b/package/switch/src/switch-robo.c index 95cb3e23f..a0051a32f 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. */ -- 2.20.1