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) | |||
1194 | process_files(); | 1194 | process_files(); |
1195 | continue; | 1195 | continue; |
1196 | } | 1196 | } |
1197 | file = bb_wfopen(argv[i], "r"); | 1197 | file = fopen_or_warn(argv[i], "r"); |
1198 | if (!file) { | 1198 | if (!file) { |
1199 | status = EXIT_FAILURE; | 1199 | status = EXIT_FAILURE; |
1200 | continue; | 1200 | continue; |