aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uuencode.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-31 19:00:21 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-01-31 19:00:21 +0000
commitdaa692b64776f1e2552a198ae786d2e5f3b50620 (patch)
tree3933adefa4171173db78fa2389146ac89f4edb86 /coreutils/uuencode.c
parent434f1b16e15a308f02d9fc1adc5fa1e483955fed (diff)
downloadbusybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.tar.gz
busybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.tar.bz2
busybox-w32-daa692b64776f1e2552a198ae786d2e5f3b50620.zip
Removed trailing \n from error_msg{,_and_die} messages.
git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/uuencode.c')
-rw-r--r--coreutils/uuencode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c
index 5df49026b..73098ba26 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -142,7 +142,7 @@ static void encode()
142 } 142 }
143 143
144 if (ferror (stdin)) 144 if (ferror (stdin))
145 error_msg("Read error\n"); 145 error_msg("Read error");
146 146
147 if (trans_ptr == uu_std) { 147 if (trans_ptr == uu_std) {
148 putchar (ENC ('\0')); 148 putchar (ENC ('\0'));
@@ -196,7 +196,7 @@ int uuencode_main (int argc,
196 encode(); 196 encode();
197 printf(trans_ptr == uu_std ? "end\n" : "====\n"); 197 printf(trans_ptr == uu_std ? "end\n" : "====\n");
198 if (ferror (stdout)) { 198 if (ferror (stdout)) {
199 error_msg("Write error\n"); 199 error_msg("Write error");
200 return EXIT_FAILURE; 200 return EXIT_FAILURE;
201 } 201 }
202 return EXIT_SUCCESS; 202 return EXIT_SUCCESS;