summaryrefslogtreecommitdiff
path: root/miscutils/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/strings.c')
-rw-r--r--miscutils/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index fea9edb..b4c5854 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -49,7 +49,7 @@ int strings_main(int argc UNUSED_PARAM, char **argv)
count = 0;
do {
c = fgetc(file);
- if (isprint(c) || c == '\t') {
+ if (isprint_asciionly(c) || c == '\t') {
if (count > n) {
bb_putchar(c);
} else {