summaryrefslogtreecommitdiff
path: root/package/switch/src/switch-robo.c
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
commit369db35a29841d5feed37b3d0da4e4d79d5f9f3c (patch)
tree93c46950adf492d7d13754e0caed5a1df3a12a43 /package/switch/src/switch-robo.c
parenta119d75d7edcce8a4abbb1fa25492b06903ad8e1 (diff)
downloadmtk-20170518-369db35a29841d5feed37b3d0da4e4d79d5f9f3c.zip
mtk-20170518-369db35a29841d5feed37b3d0da4e4d79d5f9f3c.tar.gz
mtk-20170518-369db35a29841d5feed37b3d0da4e4d79d5f9f3c.tar.bz2
fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053)
SVN-Revision: 15611
Diffstat (limited to 'package/switch/src/switch-robo.c')
-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 95cb3e2..a0051a3 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. */