[package] fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 May 2009 06:32:45 +0000 (06:32 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 May 2009 06:32:45 +0000 (06:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15611 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/switch/src/switch-robo.c

index 95cb3e23f7d60c0d760466cb2c066775092d87d5..a0051a32fe89556c4e0103e2ad7015c136e7e64e 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. */