mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 15:43:25 +00:00
Fix yamonenv errors on accessing environment (#1542)
SVN-Revision: 6902
This commit is contained in:
parent
69d2ecda31
commit
fb42821663
12
package/yamonenv/patches/001-yamonenv_mtd_partition.patch
Normal file
12
package/yamonenv/patches/001-yamonenv_mtd_partition.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -urN yamonenv/src/yamonenv.c yamonenv.new/src/yamonenv.c
|
||||||
|
--- yamonenv/src/yamonenv.c 2005-10-21 15:40:11.000000000 +0200
|
||||||
|
+++ yamonenv.new/src/yamonenv.c 2007-04-08 22:17:44.000000000 +0200
|
||||||
|
@@ -12,7 +12,7 @@
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
-#define DEFAULT_YAMON_ENV_FILE "/dev/mtd/3"
|
||||||
|
+#define DEFAULT_YAMON_ENV_FILE "/dev/mtd3"
|
||||||
|
|
||||||
|
|
||||||
|
// control byte definitions:
|
Loading…
Reference in New Issue
Block a user