Changeset 47975


Ignore:
Timestamp:
2015-12-23T15:43:47+01:00 (2 years ago)
Author:
blogic
Message:

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

Signed-off-by: Roman Yeryomin <roman@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/firmware-utils/src/mkfwimage2.c

    r34729 r47975  
    213213 
    214214        d = &im.parts[im.part_count]; 
    215         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", 
     215        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", 
    216216                        d->partition_name, 
    217217                        offset, 
Note: See TracChangeset for help on using the changeset viewer.