firmware-utils/mkfwimage2: allow to use numbers in partition names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34729
This commit is contained in:
parent
abbd18776e
commit
113b6b96c1
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ static int image_layout_add_partition(const char *part_desc)
|
||||||
}
|
}
|
||||||
|
|
||||||
d = &im.parts[im.part_count];
|
d = &im.parts[im.part_count];
|
||||||
t = sscanf(part_desc, "%15[a-zA-Z]:%15[0-9a-fA-Fx]:%15[0-9a-fA-Fx]:%15[0-9a-fA-Fx]:%15[0-9a-fA-Fx]:%256s",
|
t = sscanf(part_desc, "%15[0-9a-zA-Z]:%15[0-9a-fA-Fx]:%15[0-9a-fA-Fx]:%15[0-9a-fA-Fx]:%15[0-9a-fA-Fx]:%256s",
|
||||||
d->partition_name,
|
d->partition_name,
|
||||||
offset,
|
offset,
|
||||||
length,
|
length,
|
||||||
|
|
Loading…
Reference in a new issue