index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2013-05-07 12:59:44 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-05-07 12:59:44 +1000 |
commit | 0f988beff8794338485352dc1beafbfcdbb20db1 (patch) | |
tree | e673c51058bddede4ef7f054e79c8ae799809628 /lib/libalpm/be_package.c | |
parent | c5716d0e72e47c8cd2ca1a437598eeee54111754 (diff) | |
parent | a4a7336dff8155cfeb37341d1e9e56092439bae6 (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 4 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 3b43ed84..cfe5fb36 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -390,7 +390,7 @@ alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle, /* If full is false, only read through the archive until we find our needed * metadata. If it is true, read through the entire archive, which serves - * as a verfication of integrity and allows us to create the filelist. */ + * as a verification of integrity and allows us to create the filelist. */ while((ret = archive_read_next_header(archive, &entry)) == ARCHIVE_OK) { const char *entry_name = archive_entry_pathname(entry); @@ -460,7 +460,7 @@ alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle, } } - if(ret != ARCHIVE_EOF && ret != ARCHIVE_OK) { /* An error occured */ + if(ret != ARCHIVE_EOF && ret != ARCHIVE_OK) { /* An error occurred */ _alpm_log(handle, ALPM_LOG_ERROR, _("error while reading package %s: %s\n"), pkgfile, archive_error_string(archive)); handle->pm_errno = ALPM_ERR_LIBARCHIVE; |