aboutsummaryrefslogtreecommitdiffstats
path: root/package/yamonenv/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/yamonenv/patches')
-rw-r--r--package/yamonenv/patches/001-yamonenv_mtd_partition.patch11
1 files changed, 11 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..e1def28af
--- /dev/null
+++ b/package/yamonenv/patches/001-yamonenv_mtd_partition.patch
@@ -0,0 +1,11 @@
+--- a/src/yamonenv.c
++++ b/src/yamonenv.c
+@@ -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: