summaryrefslogtreecommitdiffstats
path: root/package/yamonenv
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-08 20:21:50 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-08 20:21:50 +0000
commit55c75914f8074acd95a9be0051a17910e2074098 (patch)
tree151364b2f99ae8057a6d87353414bb721172fec1 /package/yamonenv
parent542c0479b72c2e2f2f8c71a2f22ec5b26ba7f69a (diff)
Fix yamonenv errors on accessing environment (#1542)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/yamonenv')
-rw-r--r--package/yamonenv/patches/001-yamonenv_mtd_partition.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/yamonenv/patches/001-yamonenv_mtd_partition.patch b/package/yamonenv/patches/001-yamonenv_mtd_partition.patch
new file mode 100644
index 000000000..8a7145908
--- /dev/null
+++ b/package/yamonenv/patches/001-yamonenv_mtd_partition.patch
@@ -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: