diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-29 16:58:32 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-07-29 01:58:32 +0200 |
commit | 32c68e5c569fdf016b494ce2fc8eecf59b6881bd (patch) | |
tree | c61a79f3c34854a4ce9e6131352e05baec46c7b8 /Documentation | |
parent | lguest: fix switcher_page leak on unload (diff) | |
download | linux-32c68e5c569fdf016b494ce2fc8eecf59b6881bd.tar.xz linux-32c68e5c569fdf016b494ce2fc8eecf59b6881bd.zip |
lguest: fix verbose printing of device features.
%02x is more appropriate for bytes than %08x.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/lguest/lguest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c index 82fafe0429fe..6ded39bfdbdb 100644 --- a/Documentation/lguest/lguest.c +++ b/Documentation/lguest/lguest.c @@ -960,10 +960,10 @@ static void update_device_status(struct device *dev) verbose("Device %s OK: offered", dev->name); 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"); 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]); if (dev->ready) |