Skip to content
Snippets Groups Projects
Commit 113b6b96 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

firmware-utils/mkfwimage2: allow to use numbers in partition names


Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34729
parent abbd1877
No related branches found
No related tags found
No related merge requests found
......@@ -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[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,
offset,
length,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment