aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
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 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);
}