summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-03 07:29:51 +0000
committerDan McGee <dan@archlinux.org>2007-02-03 07:29:51 +0000
commitd18259b532a09de8025881532bc9ef6152a31891 (patch)
treeb0848f3baf1c4afdef7c7c125a6f9cd71d2467c3
parentc2157cf138dae68ae8c0e8692d6df0771ef5d4e9 (diff)
downloadpacman-d18259b532a09de8025881532bc9ef6152a31891.tar.xz
Add newlines to error messages
-rw-r--r--src/pacman/add.c4
-rw-r--r--src/pacman/sync.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index 74f9e27b..5137a8b9 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -124,14 +124,14 @@ int pacman_add(alpm_list_t *targets)
pmconflict_t *conflict = alpm_list_getdata(i);
switch(alpm_conflict_get_type(conflict)) {
case PM_CONFLICT_TYPE_TARGET:
- MSG(NL, _("%s%s exists in \"%s\" (target) and \"%s\" (target)"),
+ MSG(NL, _("%s%s exists in \"%s\" (target) and \"%s\" (target)\n"),
alpm_option_get_root(),
alpm_conflict_get_file(conflict),
alpm_conflict_get_target(conflict),
alpm_conflict_get_ctarget(conflict));
break;
case PM_CONFLICT_TYPE_FILE:
- MSG(NL, _("%s: %s%s exists in filesystem"),
+ MSG(NL, _("%s: %s%s exists in filesystem\n"),
alpm_conflict_get_target(conflict),
alpm_option_get_root(),
alpm_conflict_get_file(conflict));
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 2384a721..09f4587d 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -718,14 +718,14 @@ int pacman_sync(alpm_list_t *targets)
pmconflict_t *conflict = alpm_list_getdata(i);
switch(alpm_conflict_get_type(conflict)) {
case PM_CONFLICT_TYPE_TARGET:
- MSG(NL, _("%s%s exists in \"%s\" (target) and \"%s\" (target)"),
+ MSG(NL, _("%s%s exists in \"%s\" (target) and \"%s\" (target)\n"),
alpm_option_get_root(),
alpm_conflict_get_file(conflict),
alpm_conflict_get_target(conflict),
alpm_conflict_get_ctarget(conflict));
break;
case PM_CONFLICT_TYPE_FILE:
- MSG(NL, _("%s: %s%s exists in filesystem"),
+ MSG(NL, _("%s: %s%s exists in filesystem\n"),
alpm_conflict_get_target(conflict),
alpm_option_get_root(),
alpm_conflict_get_file(conflict));