1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 01:06:14 +02:00
openwrt-xburst/package/yamonenv/patches/001-yamonenv_mtd_partition.patch
florian 55c75914f8 Fix yamonenv errors on accessing environment (#1542)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-08 20:21:50 +00:00

13 lines
382 B
Diff

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: