aboutsummaryrefslogtreecommitdiff
path: root/editors/awk.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/awk.c')
-rw-r--r--editors/awk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c
index d25508e5d..f19990901 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -2633,7 +2633,7 @@ static var *evaluate(node *op, var *res)
2633 if (opn == '|') { 2633 if (opn == '|') {
2634 rsm->F = popen(R.s, "w"); 2634 rsm->F = popen(R.s, "w");
2635 if (rsm->F == NULL) 2635 if (rsm->F == NULL)
2636 bb_perror_msg_and_die("popen"); 2636 bb_simple_perror_msg_and_die("popen");
2637 rsm->is_pipe = 1; 2637 rsm->is_pipe = 1;
2638 } else { 2638 } else {
2639 rsm->F = xfopen(R.s, opn=='w' ? "w" : "a"); 2639 rsm->F = xfopen(R.s, opn=='w' ? "w" : "a");
@@ -3246,7 +3246,7 @@ int awk_main(int argc UNUSED_PARAM, char **argv)
3246 argv += optind; 3246 argv += optind;
3247 //argc -= optind; 3247 //argc -= optind;
3248 if (opt & OPT_W) 3248 if (opt & OPT_W)
3249 bb_error_msg("warning: option -W is ignored"); 3249 bb_simple_error_msg("warning: option -W is ignored");
3250 if (opt & OPT_F) { 3250 if (opt & OPT_F) {
3251 unescape_string_in_place(opt_F); 3251 unescape_string_in_place(opt_F);
3252 setvar_s(intvar[FS], opt_F); 3252 setvar_s(intvar[FS], opt_F);