From 59df6f73988b103f0dcfffeaec10642527336c5e Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 16 May 2001 14:21:09 +0000 Subject: Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c by Larry Doolittle. --- archival/ar.c | 2 +- archival/dpkg_deb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'archival') 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) (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 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) 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); } -- cgit v1.2.3