From d0981d4c5b59d724d9b7989b1083c2c0e9f839b2 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Sat, 16 Dec 2017 12:41:10 -0500 Subject: avoid printing NULL string Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- lib/libalpm/be_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 @@ -627,7 +627,7 @@ static int sync_db_read(alpm_db_t *db, struct archive *archive, /* 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); return 0; } -- cgit v1.2.3-54-g00ecf