git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s390/cio: export CMG value as decimal
[sfrench/cifs-2.6.git]
/
drivers
/
s390
/
cio
/
chp.c
diff --git
a/drivers/s390/cio/chp.c
b/drivers/s390/cio/chp.c
index 5440f285f3494d67c8c66e96b260146f881cbf30..675d7ed82356a9494d7df785494bd7d2ce8e2ec6 100644
(file)
--- a/
drivers/s390/cio/chp.c
+++ b/
drivers/s390/cio/chp.c
@@
-334,7
+334,7
@@
static ssize_t chp_cmg_show(struct device *dev, struct device_attribute *attr,
return 0;
if (chp->cmg == -1) /* channel measurements not available */
return sprintf(buf, "unknown\n");
- return sprintf(buf, "%
x
\n", chp->cmg);
+ return sprintf(buf, "%
d
\n", chp->cmg);
}
static DEVICE_ATTR(cmg, 0444, chp_cmg_show, NULL);