mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 16:58:53 +00:00
lguest: fix verbose printing of device features.
%02x is more appropriate for bytes than %08x. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
0a707210aa
commit
32c68e5c56
@ -960,10 +960,10 @@ static void update_device_status(struct device *dev)
|
|||||||
|
|
||||||
verbose("Device %s OK: offered", dev->name);
|
verbose("Device %s OK: offered", dev->name);
|
||||||
for (i = 0; i < dev->desc->feature_len; i++)
|
for (i = 0; i < dev->desc->feature_len; i++)
|
||||||
verbose(" %08x", get_feature_bits(dev)[i]);
|
verbose(" %02x", get_feature_bits(dev)[i]);
|
||||||
verbose(", accepted");
|
verbose(", accepted");
|
||||||
for (i = 0; i < dev->desc->feature_len; i++)
|
for (i = 0; i < dev->desc->feature_len; i++)
|
||||||
verbose(" %08x", get_feature_bits(dev)
|
verbose(" %02x", get_feature_bits(dev)
|
||||||
[dev->desc->feature_len+i]);
|
[dev->desc->feature_len+i]);
|
||||||
|
|
||||||
if (dev->ready)
|
if (dev->ready)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user