summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-11-04 20:53:34 +0100
committerDan McGee <dan@archlinux.org>2007-11-05 01:04:43 +0100
commit0686fec8399e01adacd1633d6ad624ee2d5b6d9c (patch)
tree3cf0459c4a86d61d476f5598396a09bde1bb1547 /lib/libalpm/trans.c
parentb55abdce7aebb142ce79da3aa3645afe7693a3c4 (diff)
downloadpacman-0686fec8399e01adacd1633d6ad624ee2d5b6d9c.tar.gz
pacman-0686fec8399e01adacd1633d6ad624ee2d5b6d9c.tar.xz
Remove the newline automatically added by alpm_logaction.
This way, _alpm_logaction behaves like _alpm_log, and gives more control. Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r--lib/libalpm/trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index a5033dee..a5fba845 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -214,7 +214,7 @@ int SYMEXPORT alpm_trans_release()
if(_alpm_lckrm()) {
_alpm_log(PM_LOG_WARNING, _("could not remove lock file %s\n"),
alpm_option_get_lockfile());
- alpm_logaction("warning: could not remove lock file %s",
+ alpm_logaction("warning: could not remove lock file %s\n",
alpm_option_get_lockfile());
}