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:
f4e6bd0
)
printf: fix a trivial bug
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 31 May 2008 18:32:56 +0000
(18:32 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 31 May 2008 18:32:56 +0000
(18:32 -0000)
coreutils/printf.c
patch
|
blob
|
history
diff --git
a/coreutils/printf.c
b/coreutils/printf.c
index cd184952e377241addccf3c52e392ac37ca11e2d..ebe961564f7e9980c9939fbbac5d24a54843c5d1 100644
(file)
--- a/
coreutils/printf.c
+++ b/
coreutils/printf.c
@@
-116,7
+116,7
@@
static void print_direc(char *format, unsigned fmt_length,
saved = format[fmt_length];
format[fmt_length] = '\0';
- switch (
p
[fmt_length - 1]) {
+ switch (
format
[fmt_length - 1]) {
case 'd':
case 'i':
if (field_width < 0) {