-
由 Dmitry Torokhov 提交于
Instead of printing bytes one by one, let's use %phN to print the buffer in one go. Also use hweight8 to count number of partitions instead of inspecting it bit by bit. Reviewed-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Tested-by: NNick Dyer <nick@shmanahar.org> Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
49bbbfa8