projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef7b95
)
diag: print the gpiomask in 16-bit hex
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 7 Nov 2006 19:44:47 +0000
(19:44 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 7 Nov 2006 19:44:47 +0000
(19:44 +0000)
SVN-Revision: 5468
openwrt/target/linux/package/diag/src/diag.c
patch
|
blob
|
history
diff --git
a/openwrt/target/linux/package/diag/src/diag.c
b/openwrt/target/linux/package/diag/src/diag.c
index 5f0e07acda7aaca12077b60d789a236fc5cb48b3..a7049997890476a3487a40a09c450a536eaa12e1 100644
(file)
--- a/
openwrt/target/linux/package/diag/src/diag.c
+++ b/
openwrt/target/linux/package/diag/src/diag.c
@@
-708,7
+708,7
@@
static ssize_t diag_proc_read(struct file *file, char *buf, size_t count, loff_t
len = sprintf(page, "%s\n", platform.name);
break;
case PROC_GPIOMASK:
- len = sprintf(page, "
%d
\n", gpiomask);
+ len = sprintf(page, "
0x%04x
\n", gpiomask);
break;
}
}