tools/mtd-utils: update to version 2.0.2
[openwrt/openwrt.git] / tools / mtd-utils / patches / 200-libubigen-add-ubigen_write_terminator-function.patch
index 95ce1e913793bf8889fd4a3bbb5a620e5985fa09..d95ece184c78cdab3ba6e8ec6fd15bd00214909b 100644 (file)
@@ -1,5 +1,5 @@
---- a/ubi-utils/libubigen.c
-+++ b/ubi-utils/libubigen.c
+--- a/lib/libubigen.c
++++ b/lib/libubigen.c
 @@ -122,8 +122,9 @@ int ubigen_add_volume(const struct ubige
        return 0;
  }
 @@ -122,8 +122,9 @@ int ubigen_add_volume(const struct ubige
        return 0;
  }
@@ -75,8 +75,8 @@
        return 0;
  
  out_free:
        return 0;
  
  out_free:
---- a/ubi-utils/include/libubigen.h
-+++ b/ubi-utils/include/libubigen.h
+--- a/include/libubigen.h
++++ b/include/libubigen.h
 @@ -188,6 +188,9 @@ int ubigen_write_layout_vol(const struct
                            long long ec1, long long ec2,
                            struct ubi_vtbl_record *vtbl, int fd);
 @@ -188,6 +188,9 @@ int ubigen_write_layout_vol(const struct
                            long long ec1, long long ec2,
                            struct ubi_vtbl_record *vtbl, int fd);