diff options
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c index 3e33529cb..65ca5606b 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -1194,7 +1194,7 @@ int sed_main(int argc, char **argv) process_files(); continue; } - file = bb_wfopen(argv[i], "r"); + file = fopen_or_warn(argv[i], "r"); if (!file) { status = EXIT_FAILURE; continue; |