diff options
author | Dan McGee <dan@archlinux.org> | 2011-11-01 10:26:45 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-11-01 10:26:45 -0500 |
commit | a4ce3edf95f148bc6eac16b6edd9bc281c7745af (patch) | |
tree | ae7dc55d73ae12a3214c14ccaa4d37084a0e37c2 /lib/libalpm/be_sync.c | |
parent | d5f0395dc13fb305e75a5e78de57e148d87f12d7 (diff) | |
parent | d98ff04cc933253b7221fc170813f7d2365d3289 (diff) |
Merge branch 'maint'
Diffstat (limited to 'lib/libalpm/be_sync.c')
-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 e9e816c0..3c990246 100644 --- a/lib/libalpm/be_sync.c +++ b/lib/libalpm/be_sync.c @@ -440,7 +440,7 @@ static int sync_db_populate(alpm_db_t *db) _alpm_log(db->handle, ALPM_LOG_DEBUG, "opening database archive %s\n", dbpath); if(archive_read_open_filename(archive, dbpath, - ARCHIVE_DEFAULT_BYTES_PER_BLOCK) != ARCHIVE_OK) { + ALPM_BUFFER_SIZE) != ARCHIVE_OK) { _alpm_log(db->handle, ALPM_LOG_ERROR, _("could not open file %s: %s\n"), dbpath, archive_error_string(archive)); archive_read_finish(archive); |