From 7054e37126cc476b88da7b57a6efa658d4765cf0 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 5 Sep 2011 13:16:07 -0400 Subject: sync: add missing newline in warning message Dan: fix the other missing one too. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- src/pacman/query.c | 2 +- src/pacman/sync.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman') diff --git a/src/pacman/query.c b/src/pacman/query.c index 31252bd3..9dbc5297 100644 --- a/src/pacman/query.c +++ b/src/pacman/query.c @@ -567,7 +567,7 @@ int pacman_query(alpm_list_t *targets) _("package '%s' was not found\n"), strname); if(!config->op_q_isfile && access(strname, R_OK) == 0) { pm_fprintf(stderr, ALPM_LOG_WARNING, - _("'%s' is a file, you might want to use %s."), + _("'%s' is a file, you might want to use %s.\n"), strname, "-p/--file"); } break; diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 0a47e56a..15eea955 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -717,7 +717,7 @@ cleanup: free(targstring); if(ret && access(target, R_OK) == 0) { pm_fprintf(stderr, ALPM_LOG_WARNING, - _("'%s' is a file, did you mean %s instead of %s?"), + _("'%s' is a file, did you mean %s instead of %s?\n"), target, "-U/--upgrade", "-S/--sync"); } return ret; -- cgit v1.2.3-70-g09d2