diff options
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c index c4553728d..d1fedb572 100644 --- a/editors/awk.c +++ b/editors/awk.c | |||
@@ -2652,7 +2652,7 @@ static var *evaluate(node *op, var *res) | |||
2652 | if (opn == '|') { | 2652 | if (opn == '|') { |
2653 | rsm->F = popen(R.s, "w"); | 2653 | rsm->F = popen(R.s, "w"); |
2654 | if (rsm->F == NULL) | 2654 | if (rsm->F == NULL) |
2655 | bb_perror_msg_and_die("popen"); | 2655 | bb_simple_perror_msg_and_die("popen"); |
2656 | rsm->is_pipe = 1; | 2656 | rsm->is_pipe = 1; |
2657 | } else { | 2657 | } else { |
2658 | rsm->F = xfopen(R.s, opn=='w' ? "w" : "a"); | 2658 | rsm->F = xfopen(R.s, opn=='w' ? "w" : "a"); |
@@ -3265,7 +3265,7 @@ int awk_main(int argc UNUSED_PARAM, char **argv) | |||
3265 | argv += optind; | 3265 | argv += optind; |
3266 | //argc -= optind; | 3266 | //argc -= optind; |
3267 | if (opt & OPT_W) | 3267 | if (opt & OPT_W) |
3268 | bb_error_msg("warning: option -W is ignored"); | 3268 | bb_simple_error_msg("warning: option -W is ignored"); |
3269 | if (opt & OPT_F) { | 3269 | if (opt & OPT_F) { |
3270 | unescape_string_in_place(opt_F); | 3270 | unescape_string_in_place(opt_F); |
3271 | setvar_s(intvar[FS], opt_F); | 3271 | setvar_s(intvar[FS], opt_F); |