aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index fea9edbed..b4c5854cf 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 {