mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-02 06:13:54 +08:00
firmware-utils: allow mkfwimage2 to use - in partition names
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 47975
This commit is contained in:
parent
a621edbb0a
commit
16317ceb4f
@ -212,7 +212,7 @@ static int image_layout_add_partition(const char *part_desc)
|
||||
}
|
||||
|
||||
d = &im.parts[im.part_count];
|
||||
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",
|
||||
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,
|
||||
offset,
|
||||
length,
|
||||
|
Loading…
Reference in New Issue
Block a user