aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-05-05 06:32:45 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-05-05 06:32:45 +0000
commit01613240440aba2d14b894ccde901da01d0bc7e6 (patch)
tree0e61366b43dfefd4ffcb6fc60aa33f530be50e71 /package/switch
parent74f9a035ae5218c30a87fa6d3c8c9111745319f4 (diff)
downloadupstream-01613240440aba2d14b894ccde901da01d0bc7e6.tar.gz
upstream-01613240440aba2d14b894ccde901da01d0bc7e6.tar.bz2
upstream-01613240440aba2d14b894ccde901da01d0bc7e6.zip
[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
Diffstat (limited to 'package/switch')
-rw-r--r--package/switch/src/switch-robo.c2
1 files changed, 1 insertions, 1 deletions
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. */