Przeglądaj źródła

fix oops in switch-robo on brcm63xx, thanks to Daniel Dickinson (#5053)

SVN-Revision: 15611
Florian Fainelli 16 lat temu
rodzic
commit
369db35a29
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      package/switch/src/switch-robo.c

+ 1 - 1
package/switch/src/switch-robo.c

@@ -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. */