From 79fd316f8e37fc653720205723ec092267c3c5c2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 18 Dec 2011 01:10:24 +0100 Subject: [PATCH] xbps-bin: formatting fixes for transaction printfs. --- bin/xbps-bin/transaction.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/xbps-bin/transaction.c b/bin/xbps-bin/transaction.c index 4753c41b..71105526 100644 --- a/bin/xbps-bin/transaction.c +++ b/bin/xbps-bin/transaction.c @@ -176,7 +176,7 @@ show_transaction_sizes(struct transaction *trans) "%s\n", strerror(errno)); return -1; } - printf("Total installed size:\t%6s\n\n", size); + printf("Total installed size:\t%6s\n", size); } prop_dictionary_get_uint64(trans->d, "total-removed-size", &rmsize); if (rmsize > 0) { @@ -185,8 +185,10 @@ show_transaction_sizes(struct transaction *trans) "%s\n", strerror(errno)); return -1; } - printf("Total removed size:\t%6s\n\n", size); + printf("Total removed size:\t%6s\n", size); } + printf("\n"); + return 0; }