aboutsummaryrefslogtreecommitdiff
path: root/coreutils/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/printf.c')
-rw-r--r--coreutils/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/printf.c b/coreutils/printf.c
index 7f6235a87..72acbc751 100644
--- a/coreutils/printf.c
+++ b/coreutils/printf.c
@@ -289,7 +289,7 @@ static char **print_formatted(char *f, char **argv)
289 /* Remove size modifiers - "%Ld" would try to printf 289 /* Remove size modifiers - "%Ld" would try to printf
290 * long long, we pass long, and it spews garbage */ 290 * long long, we pass long, and it spews garbage */
291 if ((*f | 0x20) == 'l' || *f == 'h' || *f == 'z') { 291 if ((*f | 0x20) == 'l' || *f == 'h' || *f == 'z') {
292 strcpy(f, f + 1); 292 overlapping_strcpy(f, f + 1);
293 } 293 }
294//FIXME: actually, the same happens with bare "%d": 294//FIXME: actually, the same happens with bare "%d":
295//it printfs an int, but we pass long! 295//it printfs an int, but we pass long!