From 5bda38196fbd6ad389fd829924736b007732e2f1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 12 Mar 2012 21:47:29 -0500 Subject: Minor format-string related cleanups We had one stubbed out so we didn't require a translation update, and the other is more a code style issue. Signed-off-by: Dan McGee --- lib/libalpm/sync.c | 2 +- src/pacman/util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 69d27af9..e84679a0 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -1187,7 +1187,7 @@ int _alpm_sync_commit(alpm_handle_t *handle, alpm_list_t **data) _alpm_log(handle, ALPM_LOG_DEBUG, "checking available disk space\n"); if(_alpm_check_diskspace(handle) == -1) { - _alpm_log(handle, ALPM_LOG_ERROR, "%s\n", _("not enough free disk space")); + _alpm_log(handle, ALPM_LOG_ERROR, _("not enough free disk space\n")); return -1; } diff --git a/src/pacman/util.c b/src/pacman/util.c index 7be3dc5c..c5f7a3bc 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -1146,7 +1146,7 @@ void print_packages(const alpm_list_t *packages) free(size); free(temp); } - printf("%s\n",string); + printf("%s\n", string); free(string); } } -- cgit v1.2.3