diff options
Diffstat (limited to 'editors')
-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 94dc820be..201665209 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -725,7 +725,7 @@ static int puts_maybe_newline(char *s, FILE *file, int missing_newline, int no_n | |||
725 | if(!no_newline) fputc('\n',file); | 725 | if(!no_newline) fputc('\n',file); |
726 | 726 | ||
727 | if(ferror(file)) { | 727 | if(ferror(file)) { |
728 | bb_default_error_retval = 4; /* It's what gnu sed exits with... */ | 728 | xfunc_error_retval = 4; /* It's what gnu sed exits with... */ |
729 | bb_error_msg_and_die(bb_msg_write_error); | 729 | bb_error_msg_and_die(bb_msg_write_error); |
730 | } | 730 | } |
731 | 731 | ||