block: add support for partitions numbered greater than 9 26/270826/1
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 9 Feb 2022 21:08:07 +0000 (22:08 +0100)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 9 Feb 2022 21:09:38 +0000 (22:09 +0100)
commit9df472a2f80ac3244dfb99aecf42cfb65c04fb47
tree88fc016b7d302cbb03049994adf66b072c407dba
parent9a753fb764927c9e2dcb96f509b65038b6f52b82
block: add support for partitions numbered greater than 9

fnmatch() not match for partitions with numbers greater than 9
(e.g. /dev/mmcblk1p65) for the "mmcblk[0-9]p[0-9]" pattern.

Change-Id: I21ee910ac8bcb00bdc8067f0ece331f2f913bb5a
src/block/block.c