diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-06 19:02:46 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-06 19:02:46 +0000 |
| commit | 6d655be5df5a559253a3769f294a6255535ad3fd (patch) | |
| tree | 4342fd4f88b84459ef5c2c2c2c6fb86863a7112f /miscutils | |
| parent | 3538b9a8822421b7c8596a33a917dcf2f99c92b7 (diff) | |
| download | busybox-w32-6d655be5df5a559253a3769f294a6255535ad3fd.tar.gz busybox-w32-6d655be5df5a559253a3769f294a6255535ad3fd.tar.bz2 busybox-w32-6d655be5df5a559253a3769f294a6255535ad3fd.zip | |
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.c | 2 | ||||
| -rw-r--r-- | miscutils/rx.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 70dfc4205..66b4ce00d 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c | |||
| @@ -119,7 +119,7 @@ int makedevs_main(int argc, char **argv) | |||
| 119 | { | 119 | { |
| 120 | if (*line=='\0' || *line=='#' || isspace(*line)) | 120 | if (*line=='\0' || *line=='#' || isspace(*line)) |
| 121 | continue; | 121 | continue; |
| 122 | bb_error_msg("line %d invalid: '%s'\n", linenum, line); | 122 | bb_error_msg("line %d invalid: '%s'", linenum, line); |
| 123 | ret = EXIT_FAILURE; | 123 | ret = EXIT_FAILURE; |
| 124 | continue; | 124 | continue; |
| 125 | } | 125 | } |
diff --git a/miscutils/rx.c b/miscutils/rx.c index 4cc4913e6..91606ecd0 100644 --- a/miscutils/rx.c +++ b/miscutils/rx.c | |||
| @@ -266,7 +266,7 @@ int rx_main(int argc, char **argv) | |||
| 266 | filefd = xopen3(fn, O_RDWR|O_CREAT|O_TRUNC, 0666); | 266 | filefd = xopen3(fn, O_RDWR|O_CREAT|O_TRUNC, 0666); |
| 267 | 267 | ||
| 268 | if (tcgetattr(ttyfd, &tty) < 0) | 268 | if (tcgetattr(ttyfd, &tty) < 0) |
| 269 | bb_error_msg_and_die("%s: tcgetattr failed: %m\n", argv[0]); | 269 | bb_perror_msg_and_die("%s: tcgetattr failed", argv[0]); |
| 270 | 270 | ||
| 271 | orig_tty = tty; | 271 | orig_tty = tty; |
| 272 | 272 | ||
| @@ -284,7 +284,7 @@ int rx_main(int argc, char **argv) | |||
| 284 | tcsetattr(ttyfd, TCSAFLUSH, &orig_tty); | 284 | tcsetattr(ttyfd, TCSAFLUSH, &orig_tty); |
| 285 | 285 | ||
| 286 | if (n < 0) | 286 | if (n < 0) |
| 287 | bb_error_msg_and_die("\n%s: receive failed:\n %s\n", | 287 | bb_error_msg_and_die("\n%s: receive failed:\n %s", |
| 288 | argv[0], error_buf); | 288 | argv[0], error_buf); |
| 289 | 289 | ||
| 290 | bb_fflush_stdout_and_exit(EXIT_SUCCESS); | 290 | bb_fflush_stdout_and_exit(EXIT_SUCCESS); |
