diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-04-08 20:21:50 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-04-08 20:21:50 +0000 |
commit | fb428216634ed8e0e686f307c4c309f51bfb67a4 (patch) | |
tree | 6a95a51dbbd24bab06b8d856cf7afe885cc98059 /package/yamonenv | |
parent | 69d2ecda316465e2cd3f8038cd9cf348a2746dc7 (diff) | |
download | upstream-fb428216634ed8e0e686f307c4c309f51bfb67a4.tar.gz upstream-fb428216634ed8e0e686f307c4c309f51bfb67a4.tar.bz2 upstream-fb428216634ed8e0e686f307c4c309f51bfb67a4.zip |
Fix yamonenv errors on accessing environment (#1542)
SVN-Revision: 6902
Diffstat (limited to 'package/yamonenv')
-rw-r--r-- | package/yamonenv/patches/001-yamonenv_mtd_partition.patch | 12 |
1 files changed, 12 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 0000000000..8a71459084 --- /dev/null +++ b/package/yamonenv/patches/001-yamonenv_mtd_partition.patch @@ -0,0 +1,12 @@ +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: |