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 /archival/dpkg_deb.c | |
parent | 63ec2732454a0c973305794e185e488106f6b282 (diff) | |
download | busybox-dd19c6990496023fe23fefef8f1798740f7d39c6.zip busybox-dd19c6990496023fe23fefef8f1798740f7d39c6.tar.gz |
Removed trailing \n from error_msg{,_and_die} messages.
Diffstat (limited to 'archival/dpkg_deb.c')
-rw-r--r-- | archival/dpkg_deb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index 3a78937..3345c27 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c @@ -118,7 +118,7 @@ extern int dpkg_deb_main(int argc, char **argv) extract_flag = TRUE; strcpy(ar_filename, "data.tar.gz"); if ( (optind + 2) > argc ) { - error_msg_and_die("No directory specified\n"); + error_msg_and_die("No directory specified"); } target_dir = (char *) xmalloc(strlen(argv[optind+1])); strcpy(target_dir, argv[optind+1]); @@ -128,7 +128,7 @@ extern int dpkg_deb_main(int argc, char **argv) list_flag = TRUE; strcpy(ar_filename, "data.tar.gz"); if ( (optind + 2) > argc ) { - error_msg_and_die("No directory specified\n"); + error_msg_and_die("No directory specified"); } target_dir = (char *) xmalloc(strlen(argv[optind+1])); strcpy(target_dir, argv[optind+1]); @@ -139,7 +139,7 @@ extern int dpkg_deb_main(int argc, char **argv) *ar_headers = get_headers(srcFd); if (ar_headers->next==NULL) - error_msg_and_die("Couldnt find %s in %s\n",ar_filename, argv[optind]); + error_msg_and_die("Couldnt find %s in %s", ar_filename, argv[optind]); while (ar_headers->next != NULL) { if (strcmp(ar_headers->name, ar_filename)==0) @@ -154,7 +154,7 @@ extern int dpkg_deb_main(int argc, char **argv) mkdir(target_dir, 0755); } if (chdir(target_dir)==-1) { - error_msg_and_die("Cannot change to dir %s\n",argv[optind+1]); + error_msg_and_die("Cannot change to dir %s", argv[optind+1]); } } status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); |