summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_package.c
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2013-04-15 04:33:46 +0200
committerAllan McRae <allan@archlinux.org>2013-04-18 05:20:13 +0200
commit769facca22db733f0a70ce6a38062d37fe8d2579 (patch)
treef344a3ec31338568237ca4eeff0a4025b52ee0f5 /lib/libalpm/be_package.c
parent597286eb258f841dfc00f65474138fc6192f0092 (diff)
downloadpacman-769facca22db733f0a70ce6a38062d37fe8d2579.tar.gz
pacman-769facca22db733f0a70ce6a38062d37fe8d2579.tar.xz
Fix spelling errors using 'codespell' tool
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_package.c')
-rw-r--r--lib/libalpm/be_package.c4
1 files changed, 2 insertions, 2 deletions
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;