aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-06 19:02:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-06 19:02:46 +0000
commit6d655be5df5a559253a3769f294a6255535ad3fd (patch)
tree4342fd4f88b84459ef5c2c2c2c6fb86863a7112f /editors
parent3538b9a8822421b7c8596a33a917dcf2f99c92b7 (diff)
downloadbusybox-6d655be5df5a559253a3769f294a6255535ad3fd.tar.gz
removed a lot of trailing \n in bb_msg() calls. It is added
automatically by function itself.
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c2
-rw-r--r--editors/sed.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 049673df3..6e81aa8f4 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -2691,7 +2691,7 @@ keep_going:
free(s);
break;
case 'W':
- bb_error_msg("Warning: unrecognized option '-W %s' ignored\n", optarg);
+ bb_error_msg("Warning: unrecognized option '-W %s' ignored", optarg);
break;
default:
diff --git a/editors/sed.c b/editors/sed.c
index d5cf3f219..40eef80bc 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -512,7 +512,7 @@ static void add_cmd(char *cmdstr)
cmdstr++;
idx = get_address(cmdstr, &sed_cmd->end_line, &sed_cmd->end_match);
- if (!idx) bb_error_msg_and_die("no address after comma\n");
+ if (!idx) bb_error_msg_and_die("no address after comma");
cmdstr += idx;
}