aboutsummaryrefslogtreecommitdiffstats
path: root/package/switch
diff options
context:
space:
mode:
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. */