[package] fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053)
authorFlorian Fainelli <florian@openwrt.org>
Tue, 5 May 2009 06:32:45 +0000 (06:32 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 5 May 2009 06:32:45 +0000 (06:32 +0000)
SVN-Revision: 15611

package/switch/src/switch-robo.c

index 95cb3e2..a0051a3 100644 (file)
@@ -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. */