summaryrefslogtreecommitdiff
path: root/package/mtd-utils/patches/patch-lib_libmtd_legacy_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-30 21:56:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-30 21:56:07 +0200
commit1a81ab3b835f3b77bb16e47ddb1be9c751e79e0e (patch)
treeb325e977182b293bb8382072f2e4f0a3f88f3089 /package/mtd-utils/patches/patch-lib_libmtd_legacy_c
parente56895aca43c2de824228aa3ae00345318a0cb51 (diff)
parent712a7998a6e64638154c2cc3b3262b0881ca0138 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/mtd-utils/patches/patch-lib_libmtd_legacy_c')
-rw-r--r--package/mtd-utils/patches/patch-lib_libmtd_legacy_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mtd-utils/patches/patch-lib_libmtd_legacy_c b/package/mtd-utils/patches/patch-lib_libmtd_legacy_c
new file mode 100644
index 000000000..bcd66374f
--- /dev/null
+++ b/package/mtd-utils/patches/patch-lib_libmtd_legacy_c
@@ -0,0 +1,11 @@
+--- mtd-utils-1.5.0.orig/lib/libmtd_legacy.c 2012-05-07 09:19:39.000000000 +0200
++++ mtd-utils-1.5.0/lib/libmtd_legacy.c 2014-03-30 15:49:26.000000000 +0200
+@@ -234,7 +234,7 @@ int legacy_get_dev_info(const char *node
+ struct stat st;
+ struct mtd_info_user ui;
+ int fd, ret;
+- loff_t offs = 0;
++ off_t offs = 0;
+ struct proc_parse_info pi;
+
+ if (stat(node, &st)) {