diff options
author | Matt Kraai <kraai@debian.org> | 2001-05-16 14:21:09 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-05-16 14:21:09 +0000 |
commit | 59df6f73988b103f0dcfffeaec10642527336c5e (patch) | |
tree | fab28cbdabe79bb98e1cdc99f1fa2b6da599f709 /archival | |
parent | bc604a2f417ea290913fedb6807e390e4fc8833e (diff) | |
download | busybox-w32-59df6f73988b103f0dcfffeaec10642527336c5e.tar.gz busybox-w32-59df6f73988b103f0dcfffeaec10642527336c5e.tar.bz2 busybox-w32-59df6f73988b103f0dcfffeaec10642527336c5e.zip |
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
by Larry Doolittle.
Diffstat (limited to 'archival')
-rw-r--r-- | archival/ar.c | 2 | ||||
-rw-r--r-- | archival/dpkg_deb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/ar.c b/archival/ar.c index 4c3d0bbd5..08cd5c501 100644 --- a/archival/ar.c +++ b/archival/ar.c | |||
@@ -119,7 +119,7 @@ extern int ar_main(int argc, char **argv) | |||
119 | (int) ar_extract_list->size, time_string(ar_extract_list->mtime)); | 119 | (int) ar_extract_list->size, time_string(ar_extract_list->mtime)); |
120 | } | 120 | } |
121 | if ((funct & display) || (funct & verbose)){ | 121 | if ((funct & display) || (funct & verbose)){ |
122 | printf("%s\n", ar_extract_list->name); | 122 | puts(ar_extract_list->name); |
123 | } | 123 | } |
124 | ar_extract_list = ar_extract_list->next; | 124 | ar_extract_list = ar_extract_list->next; |
125 | } | 125 | } |
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index d08882885..17b5476d0 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c | |||
@@ -99,7 +99,7 @@ extern int dpkg_deb_main(int argc, char **argv) | |||
99 | field_length = strlen(field); | 99 | field_length = strlen(field); |
100 | field_start += (field_length + 1); | 100 | field_start += (field_length + 1); |
101 | if (strstr(field, argument) == field) { | 101 | if (strstr(field, argument) == field) { |
102 | printf("%s\n", field + strlen(argument) + 2); | 102 | puts(field + strlen(argument) + 2); |
103 | } | 103 | } |
104 | free(field); | 104 | free(field); |
105 | } | 105 | } |