aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-07-29 10:58:32 -0400
committerRusty Russell <rusty@rustcorp.com.au>2008-07-28 19:58:32 -0400
commit32c68e5c569fdf016b494ce2fc8eecf59b6881bd (patch)
treec61a79f3c34854a4ce9e6131352e05baec46c7b8
parent0a707210aa1b8ac40fe781b2a9d0b203b6ebb921 (diff)
lguest: fix verbose printing of device features.
%02x is more appropriate for bytes than %08x. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--Documentation/lguest/lguest.c4
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)
960 960
961 verbose("Device %s OK: offered", dev->name); 961 verbose("Device %s OK: offered", dev->name);
962 for (i = 0; i < dev->desc->feature_len; i++) 962 for (i = 0; i < dev->desc->feature_len; i++)
963 verbose(" %08x", get_feature_bits(dev)[i]); 963 verbose(" %02x", get_feature_bits(dev)[i]);
964 verbose(", accepted"); 964 verbose(", accepted");
965 for (i = 0; i < dev->desc->feature_len; i++) 965 for (i = 0; i < dev->desc->feature_len; i++)
966 verbose(" %08x", get_feature_bits(dev) 966 verbose(" %02x", get_feature_bits(dev)
967 [dev->desc->feature_len+i]); 967 [dev->desc->feature_len+i]);
968 968
969 if (dev->ready) 969 if (dev->ready)