projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58c3399
)
firmware-utils/mkfwimage2: allow to use numbers in partition names
author
Gabor Juhos
<juhosg@openwrt.org>
Mon, 17 Dec 2012 12:28:15 +0000
(12:28 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Mon, 17 Dec 2012 12:28:15 +0000
(12:28 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34729
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
tools/firmware-utils/src/mkfwimage2.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/mkfwimage2.c
b/tools/firmware-utils/src/mkfwimage2.c
index
ee09abb
..
993c3d4
100644
(file)
--- a/
tools/firmware-utils/src/mkfwimage2.c
+++ b/
tools/firmware-utils/src/mkfwimage2.c
@@
-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-9
a-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,