diff options
author | Matt Kraai | 2001-01-31 19:00:21 +0000 |
---|---|---|
committer | Matt Kraai | 2001-01-31 19:00:21 +0000 |
commit | dd19c6990496023fe23fefef8f1798740f7d39c6 (patch) | |
tree | 3933adefa4171173db78fa2389146ac89f4edb86 /ar.c | |
parent | 63ec2732454a0c973305794e185e488106f6b282 (diff) | |
download | busybox-dd19c6990496023fe23fefef8f1798740f7d39c6.zip busybox-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.gz |
Removed trailing \n from error_msg{,_and_die} messages.
Diffstat (limited to 'ar.c')
-rw-r--r-- | ar.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -65,9 +65,9 @@ extern ar_headers_t get_headers(int srcFd) /* check ar magic */ if (full_read(srcFd, ar_magic, 8) != 8) - error_msg_and_die("cannot read magic\n"); + error_msg_and_die("cannot read magic"); if (strncmp(ar_magic,"!<arch>",7) != 0) - error_msg_and_die("invalid magic\n"); + error_msg_and_die("invalid magic"); while (full_read(srcFd, (char *) &raw_ar_header, 60)==60) { /* check the end of header markers are valid */ @@ -168,7 +168,7 @@ extern int ar_main(int argc, char **argv) usage(ar_usage); if ( (srcFd = open(argv[optind], O_RDONLY)) < 0) - error_msg_and_die("Cannot read %s\n", argv[optind]); + error_msg_and_die("Cannot read %s", argv[optind]); optind++; head = get_headers(srcFd); |