Fix error messages for unknown key in databases
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
e3dc296ba3
commit
6bb95c8856
2 changed files with 2 additions and 2 deletions
|
@ -838,7 +838,7 @@ static int local_db_read(alpm_pkg_t *info, int inforeq)
|
||||||
}
|
}
|
||||||
FREELIST(lines);
|
FREELIST(lines);
|
||||||
} else {
|
} else {
|
||||||
_alpm_log(db->handle, ALPM_LOG_WARNING, _("%s: unknown key '%s' in sync database\n"), info->name, line);
|
_alpm_log(db->handle, ALPM_LOG_WARNING, _("%s: unknown key '%s' in local database\n"), info->name, line);
|
||||||
alpm_list_t *lines = NULL;
|
alpm_list_t *lines = NULL;
|
||||||
READ_AND_STORE_ALL(lines);
|
READ_AND_STORE_ALL(lines);
|
||||||
FREELIST(lines);
|
FREELIST(lines);
|
||||||
|
|
|
@ -692,7 +692,7 @@ static int sync_db_read(alpm_db_t *db, struct archive *archive,
|
||||||
}
|
}
|
||||||
FREELIST(lines);
|
FREELIST(lines);
|
||||||
} else {
|
} else {
|
||||||
_alpm_log(db->handle, ALPM_LOG_WARNING, _("%s: unknown key '%s' in local database\n"), pkg->name, line);
|
_alpm_log(db->handle, ALPM_LOG_WARNING, _("%s: unknown key '%s' in sync database\n"), pkg->name, line);
|
||||||
alpm_list_t *lines = NULL;
|
alpm_list_t *lines = NULL;
|
||||||
READ_AND_STORE_ALL(lines);
|
READ_AND_STORE_ALL(lines);
|
||||||
FREELIST(lines);
|
FREELIST(lines);
|
||||||
|
|
Loading…
Add table
Reference in a new issue