diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch')
| -rw-r--r-- | meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch index e60385904b..97c4fa3abf 100644 --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc/libubi.c.patch | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | --- a/ubi-utils/libubi.c 2012-04-29 21:44:52.000000000 +0200 | 1 | --- a/ubi-utils/libubi.c 2012-05-01 01:57:51.000000000 +0200 |
| 2 | +++ b/ubi-utils/libubi.c 2012-04-29 21:43:52.000000000 +0200 | 2 | +++ b/ubi-utils/libubi.c 2012-05-01 01:55:14.000000000 +0200 |
| 3 | @@ -36,6 +36,26 @@ | 3 | @@ -36,6 +36,26 @@ |
| 4 | #include "libubi_int.h" | 4 | #include "libubi_int.h" |
| 5 | #include "common.h" | 5 | #include "common.h" |
| @@ -49,6 +49,15 @@ | |||
| 49 | 49 | ||
| 50 | if (minor != 0) { | 50 | if (minor != 0) { |
| 51 | errno = EINVAL; | 51 | errno = EINVAL; |
| 52 | @@ -686,7 +706,7 @@ | ||
| 53 | * success and %-1 in case of failure. @r->ubi_num contains newly created UBI | ||
| 54 | * device number. | ||
| 55 | */ | ||
| 56 | -static int do_attach(const char *node, const struct ubi_attach_req *r) | ||
| 57 | +static int do_attach(const char *node, struct ubi_attach_req *r) | ||
| 58 | { | ||
| 59 | int fd, ret; | ||
| 60 | |||
| 52 | @@ -757,8 +777,8 @@ | 61 | @@ -757,8 +777,8 @@ |
| 53 | mtd_dev_node); | 62 | mtd_dev_node); |
| 54 | } | 63 | } |
