diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-03-11 10:14:49 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-03-11 10:14:49 +0000 |
| commit | ede205bd07573813337b5706acb0cae3b127a36f (patch) | |
| tree | 1f79073ae9b7fa6fc8bd6b5f090380fd972f77dc /coreutils/printf.c | |
| parent | b8b19b18ad8f189e1a6f52043dabe8d38d19b883 (diff) | |
| parent | e527bd22dbda697d09d4dff8786c6290d79d577a (diff) | |
| download | busybox-w32-ede205bd07573813337b5706acb0cae3b127a36f.tar.gz busybox-w32-ede205bd07573813337b5706acb0cae3b127a36f.tar.bz2 busybox-w32-ede205bd07573813337b5706acb0cae3b127a36f.zip | |
Merge branch 'busybox' into merge
Diffstat (limited to 'coreutils/printf.c')
| -rw-r--r-- | coreutils/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/printf.c b/coreutils/printf.c index 379c00cc6..0c2502f1b 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c | |||
| @@ -419,7 +419,7 @@ static char **print_formatted(char *f, char **argv, int *conv_err) | |||
| 419 | /* Add "ll" if integer modifier, then print */ | 419 | /* Add "ll" if integer modifier, then print */ |
| 420 | { | 420 | { |
| 421 | static const char format_chars[] ALIGN1 = "diouxXfeEgGcs"; | 421 | static const char format_chars[] ALIGN1 = "diouxXfeEgGcs"; |
| 422 | char *p = strchr(format_chars, *f); | 422 | char *p = (char*)strchr(format_chars, *f); |
| 423 | /* needed - try "printf %" without it */ | 423 | /* needed - try "printf %" without it */ |
| 424 | if (p == NULL || *f == '\0') { | 424 | if (p == NULL || *f == '\0') { |
| 425 | bb_error_msg("%s: invalid format", direc_start); | 425 | bb_error_msg("%s: invalid format", direc_start); |
