summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pacman/conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index ac5a5329..3a3ef605 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -665,7 +665,7 @@ static int _parse_options(const char *key, char *value,
} else if(strcmp(key, "XferCommand") == 0) {
char **c;
if((config->xfercommand_argv = wordsplit(value)) == NULL) {
- pm_printf(ALPM_LOG_WARNING,
+ pm_printf(ALPM_LOG_ERROR,
_("config file %s, line %d: invalid value for '%s' : '%s'\n"),
file, linenum, "XferCommand", value);
return 1;
@@ -717,21 +717,21 @@ static int _parse_options(const char *key, char *value,
err = parse_number(value, &number);
if(err) {
- pm_printf(ALPM_LOG_WARNING,
+ pm_printf(ALPM_LOG_ERROR,
_("config file %s, line %d: invalid value for '%s' : '%s'\n"),
file, linenum, "ParallelDownloads", value);
return 1;
}
if(number < 1) {
- pm_printf(ALPM_LOG_WARNING,
+ pm_printf(ALPM_LOG_ERROR,
_("config file %s, line %d: value for '%s' has to be positive : '%s'\n"),
file, linenum, "ParallelDownloads", value);
return 1;
}
if(number > INT_MAX) {
- pm_printf(ALPM_LOG_WARNING,
+ pm_printf(ALPM_LOG_ERROR,
_("config file %s, line %d: value for '%s' is too large : '%s'\n"),
file, linenum, "ParallelDownloads", value);
return 1;