projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053)
[openwrt/svn-archive/archive.git]
/
package
/
switch
/
src
/
switch-robo.c
diff --git
a/package/switch/src/switch-robo.c
b/package/switch/src/switch-robo.c
index 95cb3e23f7d60c0d760466cb2c066775092d87d5..a0051a32fe89556c4e0103e2ad7015c136e7e64e 100644
(file)
--- 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. */