summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorMatt Kraai2001-05-16 14:21:09 +0000
committerMatt Kraai2001-05-16 14:21:09 +0000
commit59df6f73988b103f0dcfffeaec10642527336c5e (patch)
treefab28cbdabe79bb98e1cdc99f1fa2b6da599f709 /archival
parentbc604a2f417ea290913fedb6807e390e4fc8833e (diff)
downloadbusybox-59df6f73988b103f0dcfffeaec10642527336c5e.zip
busybox-59df6f73988b103f0dcfffeaec10642527336c5e.tar.gz
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
by Larry Doolittle.
Diffstat (limited to 'archival')
-rw-r--r--archival/ar.c2
-rw-r--r--archival/dpkg_deb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/ar.c b/archival/ar.c
index 4c3d0bb..08cd5c5 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -119,7 +119,7 @@ extern int ar_main(int argc, char **argv)
(int) ar_extract_list->size, time_string(ar_extract_list->mtime));
}
if ((funct & display) || (funct & verbose)){
- printf("%s\n", ar_extract_list->name);
+ puts(ar_extract_list->name);
}
ar_extract_list = ar_extract_list->next;
}
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index d088828..17b5476 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -99,7 +99,7 @@ extern int dpkg_deb_main(int argc, char **argv)
field_length = strlen(field);
field_start += (field_length + 1);
if (strstr(field, argument) == field) {
- printf("%s\n", field + strlen(argument) + 2);
+ puts(field + strlen(argument) + 2);
}
free(field);
}