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

14 lines
420 B
Diff

Index: yamonenv/src/yamonenv.c
===================================================================
--- yamonenv.orig/src/yamonenv.c 2007-06-04 13:24:02.640211136 +0200
+++ yamonenv/src/yamonenv.c 2007-06-04 13:24:02.710200496 +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: