summaryrefslogtreecommitdiffstats
path: root/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-05-13 12:20:42 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-05-14 17:20:10 +0200
commit32a2f502c6d3601cc51c76c6f5c4526ba10ff8d0 (patch)
tree4ebd340587fdb773dbe7a54cbf8ec56496877647 /package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
parentf8a6a1b94a22d3ed4ce450cfec9c40cce0a447c3 (diff)
downloadbuildroot-novena-32a2f502c6d3601cc51c76c6f5c4526ba10ff8d0.tar.gz
buildroot-novena-32a2f502c6d3601cc51c76c6f5c4526ba10ff8d0.zip
busybox 1.21.0: update mdev patch and add ntfs volume patch
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/1.21.0/busybox-1.21.0-ntfs.patch')
-rw-r--r--package/busybox/1.21.0/busybox-1.21.0-ntfs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch b/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
new file mode 100644
index 000000000..e119280f9
--- /dev/null
+++ b/package/busybox/1.21.0/busybox-1.21.0-ntfs.patch
@@ -0,0 +1,11 @@
+--- busybox-1.21.0/util-linux/volume_id/ntfs.c
++++ busybox-1.21.0-ntfs/util-linux/volume_id/ntfs.c
+@@ -150,7 +150,7 @@ int FAST_FUNC volume_id_probe_ntfs(struc
+
+ attr = (struct file_attribute*) &buf[attr_off];
+ attr_type = le32_to_cpu(attr->type);
+- attr_len = le16_to_cpu(attr->len);
++ attr_len = le32_to_cpu(attr->len);
+ val_off = le16_to_cpu(attr->value_offset);
+ val_len = le32_to_cpu(attr->value_len);
+ attr_off += attr_len;