projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a70721
)
lguest: fix verbose printing of device features.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 29 Jul 2008 14:58:32 +0000
(09:58 -0500)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 28 Jul 2008 23:58:32 +0000
(09:58 +1000)
%02x is more appropriate for bytes than %08x.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Documentation/lguest/lguest.c
patch
|
blob
|
history
diff --git
a/Documentation/lguest/lguest.c
b/Documentation/lguest/lguest.c
index
82fafe0
..
6ded39b
100644
(file)
--- 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(" %0
8
x", get_feature_bits(dev)[i]);
+ verbose(" %0
2
x", get_feature_bits(dev)[i]);
verbose(", accepted");
for (i = 0; i < dev->desc->feature_len; i++)
- verbose(" %0
8
x", get_feature_bits(dev)
+ verbose(" %0
2
x", get_feature_bits(dev)
[dev->desc->feature_len+i]);
if (dev->ready)