summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-06 19:02:46 +0000
committerDenis Vlasenko2006-09-06 19:02:46 +0000
commit6d655be5df5a559253a3769f294a6255535ad3fd (patch)
tree4342fd4f88b84459ef5c2c2c2c6fb86863a7112f /miscutils
parent3538b9a8822421b7c8596a33a917dcf2f99c92b7 (diff)
downloadbusybox-6d655be5df5a559253a3769f294a6255535ad3fd.zip
busybox-6d655be5df5a559253a3769f294a6255535ad3fd.tar.gz
removed a lot of trailing \n in bb_msg() calls. It is added
automatically by function itself.
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/makedevs.c2
-rw-r--r--miscutils/rx.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index 70dfc42..66b4ce0 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -119,7 +119,7 @@ int makedevs_main(int argc, char **argv)
{
if (*line=='\0' || *line=='#' || isspace(*line))
continue;
- bb_error_msg("line %d invalid: '%s'\n", linenum, line);
+ bb_error_msg("line %d invalid: '%s'", linenum, line);
ret = EXIT_FAILURE;
continue;
}
diff --git a/miscutils/rx.c b/miscutils/rx.c
index 4cc4913..91606ec 100644
--- a/miscutils/rx.c
+++ b/miscutils/rx.c
@@ -266,7 +266,7 @@ int rx_main(int argc, char **argv)
filefd = xopen3(fn, O_RDWR|O_CREAT|O_TRUNC, 0666);
if (tcgetattr(ttyfd, &tty) < 0)
- bb_error_msg_and_die("%s: tcgetattr failed: %m\n", argv[0]);
+ bb_perror_msg_and_die("%s: tcgetattr failed", argv[0]);
orig_tty = tty;
@@ -284,7 +284,7 @@ int rx_main(int argc, char **argv)
tcsetattr(ttyfd, TCSAFLUSH, &orig_tty);
if (n < 0)
- bb_error_msg_and_die("\n%s: receive failed:\n %s\n",
+ bb_error_msg_and_die("\n%s: receive failed:\n %s",
argv[0], error_buf);
bb_fflush_stdout_and_exit(EXIT_SUCCESS);