Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2017-12-16 12:41:10 -0500
committerAllan McRae <allan@archlinux.org>2018-01-06 12:56:54 +1000
commitd0981d4c5b59d724d9b7989b1083c2c0e9f839b2 (patch)
tree22df0a84c851900fe05742cbe4ce112097460fb9
parent3d4e95e5262a8886a5e775c999fa48ed6a78e179 (diff)
avoid printing NULL string
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/be_sync.c2
1 files changed, 1 insertions, 1 deletions
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;
}