+10
−54
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
blkg_conf_prep() implements "MAJ:MIN VAL" parsing manually, which is
unnecessary. Just use sscanf("%u:%u %llu"). This might not reject
some malformed input (extra input at the end) but we don't care.
Signed-off-by:
Tejun Heo <tj@kernel.org>