mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
[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
This commit is contained in:
parent
db2942ead1
commit
cceb94e775
@ -73,7 +73,7 @@
|
|||||||
extern char *nvram_get(const char *name);
|
extern char *nvram_get(const char *name);
|
||||||
#define getvar(str) (nvram_get(str)?:"")
|
#define getvar(str) (nvram_get(str)?:"")
|
||||||
#else
|
#else
|
||||||
#define getvar(str) NULL
|
#define getvar(str) ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Data structure for a Roboswitch device. */
|
/* Data structure for a Roboswitch device. */
|
||||||
|
Loading…
Reference in New Issue
Block a user