block: add support for partitions numbered greater than 9 51/273651/1
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 9 Feb 2022 21:08:07 +0000 (22:08 +0100)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 11 Apr 2022 11:09:02 +0000 (11:09 +0000)
commit04f684b4f7b3cc174dfeef5db3f88a2e04f094f6
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
(cherry picked from commit 9df472a2f80ac3244dfb99aecf42cfb65c04fb47)
src/block/block.c