diff options
Diffstat (limited to 'miscutils/strings.c')
-rw-r--r-- | miscutils/strings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c index 835880214..b7f5a0b57 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c | |||
@@ -56,7 +56,7 @@ int strings_main(int argc, char **argv) | |||
56 | c = fgetc(file); | 56 | c = fgetc(file); |
57 | if (isprint(c) || c == '\t') { | 57 | if (isprint(c) || c == '\t') { |
58 | if (count > n) { | 58 | if (count > n) { |
59 | putchar(c); | 59 | bb_putchar(c); |
60 | } else { | 60 | } else { |
61 | string[count] = c; | 61 | string[count] = c; |
62 | if (count == n) { | 62 | if (count == n) { |
@@ -72,7 +72,7 @@ int strings_main(int argc, char **argv) | |||
72 | } | 72 | } |
73 | } else { | 73 | } else { |
74 | if (count > n) { | 74 | if (count > n) { |
75 | putchar('\n'); | 75 | bb_putchar('\n'); |
76 | } | 76 | } |
77 | count = 0; | 77 | count = 0; |
78 | } | 78 | } |