Skip to content
Commit a291bb43 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: use the %pg format specifier in show_partition



Simplify printing the partition name by using the %pg format specifier
that is equivalent to a bdevname call.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20210727062518.122108-4-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a9e7bc3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment