ltp: update to latest
[openadk.git] / package / genimage / patches / patch-image-vfat_c
bloba7b748a6c5f2bf6dafa047fe2cf39ed35a76ccb4
1 --- genimage-9.orig/image-vfat.c        2016-01-12 17:49:29.000000000 +0100
2 +++ genimage-9/image-vfat.c     2016-09-05 19:59:30.000000000 +0200
3 @@ -42,7 +42,7 @@ static int vfat_generate(struct image *i
4                 struct image *child = image_get(part->image);
5                 const char *file = imageoutfile(child);
6                 const char *target = part->name;
7 -               char *path = strdupa(target);
8 +               char *path = strdup(target);
9                 char *next = path;
11                 while ((next = strchr(next, '/')) != NULL) {