projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
accidentally applied wrong (old) patch, fixing up...
[oweals/busybox.git]
/
miscutils
/
strings.c
diff --git
a/miscutils/strings.c
b/miscutils/strings.c
index dae17315ec89c65de9b3f10faed377bbc2ba7fcf..0d5576e9b2aea464567bb8540cbec3f7c70e6e22 100644
(file)
--- a/
miscutils/strings.c
+++ b/
miscutils/strings.c
@@
-45,7
+45,7
@@
int strings_main(int argc, char **argv)
}
do {
- file =
bb_wfope
n(*argv, "r");
+ file =
fopen_or_war
n(*argv, "r");
if (file) {
PIPE:
count = 0;
@@
-75,7
+75,7
@@
PIPE:
}
count++;
} while (c != EOF);
-
bb_fclose_non
stdin(file);
+
fclose_if_not_
stdin(file);
} else {
status = EXIT_FAILURE;
}