[pacman-dev] [PATCH] avoid printing NULL string
Allan McRae
allan at archlinux.org
Sat Jan 6 02:56:43 UTC 2018
On 17/12/17 03:41, Andrew Gregory wrote:
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---
> lib/libalpm/be_sync.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/libalpm/be_sync.c b/lib/libalpm/be_sync.c
> index 06f509a6..1b7c8b6f 100644
> --- a/lib/libalpm/be_sync.c
> +++ b/lib/libalpm/be_sync.c
> @@ -626,9 +626,9 @@ static int sync_db_read(alpm_db_t *db, struct archive *archive,
> if(filename == NULL) {
> /* A file exists outside of a subdirectory. This isn't a read error, so return
> * success and try to continue on. */
> _alpm_log(db->handle, ALPM_LOG_WARNING, _("unknown database file: %s\n"),
> - filename);
> + entryname);
Thanks,
A
More information about the pacman-dev
mailing list