diff options
Diffstat (limited to 'coreutils/tee.c')
-rw-r--r-- | coreutils/tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tee.c b/coreutils/tee.c index f0e1fad86..06c94aba6 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c | |||
@@ -49,7 +49,7 @@ int tee_main(int argc, char **argv) | |||
49 | goto GOT_NEW_FILE; | 49 | goto GOT_NEW_FILE; |
50 | 50 | ||
51 | do { | 51 | do { |
52 | if ((*p = bb_wfopen(*argv, mode)) == NULL) { | 52 | if ((*p = fopen_or_warn(*argv, mode)) == NULL) { |
53 | retval = EXIT_FAILURE; | 53 | retval = EXIT_FAILURE; |
54 | continue; | 54 | continue; |
55 | } | 55 | } |