projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8528d3d
)
od_bloaty: fix debug code
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 23 Jan 2018 13:49:12 +0000
(14:49 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 23 Jan 2018 13:49:12 +0000
(14:49 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/od_bloaty.c
patch
|
blob
|
history
diff --git
a/coreutils/od_bloaty.c
b/coreutils/od_bloaty.c
index f19875c427784b7a0d0cb0430da9f6a8d46a462b..c9bb3b85f46b9ea2e47657d7b91d2fdd4a06cc81 100644
(file)
--- a/
coreutils/od_bloaty.c
+++ b/
coreutils/od_bloaty.c
@@
-1371,9
+1371,13
@@
int od_main(int argc UNUSED_PARAM, char **argv)
}
#ifdef DEBUG
- for (i = 0; i < G.n_specs; i++) {
- printf("%d: fmt=\"%s\" width=%d\n",
- i, spec[i].fmt_string, width_bytes[spec[i].size]);
+ {
+ int i;
+ for (i = 0; i < G.n_specs; i++) {
+ printf("%d: fmt='%s' width=%d\n",
+ i, G.spec[i].fmt_string,
+ width_bytes[G.spec[i].size]);
+ }
}
#endif