openwrtv3/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch
2012-10-16 13:44:25 +00:00

11 lines
230 B
Diff

--- 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: