diff options
Diffstat (limited to 'coreutils/cut.c')
-rw-r--r-- | coreutils/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index 5dc35434f..a538e3d20 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -272,7 +272,7 @@ int cut_main(int argc, char **argv) | |||
272 | FILE *file; | 272 | FILE *file; |
273 | 273 | ||
274 | for (; optind < argc; optind++) { | 274 | for (; optind < argc; optind++) { |
275 | file = bb_wfopen(argv[optind], "r"); | 275 | file = fopen_or_warn(argv[optind], "r"); |
276 | if (file) { | 276 | if (file) { |
277 | cut_file(file); | 277 | cut_file(file); |
278 | fclose(file); | 278 | fclose(file); |