From 855bc915e54d37f58ab0d87ab681bcaa99e50715 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 22 Mar 2016 09:45:48 +0100 Subject: [PATCH] xbps-rindex: replace puts calls with printf --- bin/xbps-rindex/index-add.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/xbps-rindex/index-add.c b/bin/xbps-rindex/index-add.c index c0924bc5..1d5a358c 100644 --- a/bin/xbps-rindex/index-add.c +++ b/bin/xbps-rindex/index-add.c @@ -134,7 +134,7 @@ repodata_commit(struct xbps_handle *xhp, const char *repodir, xbps_object_iterator_release(iter); if (xbps_dictionary_count(usedshlibs) != 0) { - puts("Inconsistent shlibs:"); + printf("Inconsistent shlibs:\n"); iter = xbps_dictionary_iterator(usedshlibs); while ((keysym = xbps_object_iterator_next(iter))) { const char *shlib = xbps_dictionary_keysym_cstring_nocopy(keysym), @@ -151,9 +151,9 @@ repodata_commit(struct xbps_handle *xhp, const char *repodir, printf("%s%s",pre, user); pre = ", "; } - puts(")"); + printf(")\n"); } - puts("Packages are added to stage area."); + printf("Packages are added to stage area.\n"); xbps_object_iterator_release(iter); rv = repodata_flush(xhp, repodir, "stagedata", stage, NULL); }