diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2017-12-16 18:41:10 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-01-06 03:56:54 +0100 |
commit | d0981d4c5b59d724d9b7989b1083c2c0e9f839b2 (patch) | |
tree | 22df0a84c851900fe05742cbe4ce112097460fb9 /lib | |
parent | 3d4e95e5262a8886a5e775c999fa48ed6a78e179 (diff) | |
download | pacman-d0981d4c5b59d724d9b7989b1083c2c0e9f839b2.tar.gz pacman-d0981d4c5b59d724d9b7989b1083c2c0e9f839b2.tar.xz |
avoid printing NULL string
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/be_sync.c | 2 |
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; } |