Signed-off-by: Andrew Gregory <[email protected]>
---
 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);
                return 0;
        }
 
        if(strcmp(filename, "desc") == 0 || strcmp(filename, "depends") == 0
-- 
2.15.1

Reply via email to