openwrt/package/boot/yamonenv/patches/001-yamonenv_mtd_partition....

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