summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.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/util.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/util.c')
-rw-r--r--lib/libalpm/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index dc1d0435..f84fb666 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -527,7 +527,7 @@ int _alpm_run_chroot(alpm_handle_t *handle, const char *cmd, char *const argv[])
goto cleanup;
}
- /* fork- parent and child each have seperate code blocks below */
+ /* fork- parent and child each have separate code blocks below */
pid = fork();
if(pid == -1) {
_alpm_log(handle, ALPM_LOG_ERROR, _("could not fork a new process (%s)\n"), strerror(errno));
@@ -677,7 +677,7 @@ char *_alpm_filecache_find(alpm_handle_t *handle, const char *filename)
return NULL;
}
-/** Check the alpm cachedirs for existance and find a writable one.
+/** Check the alpm cachedirs for existence and find a writable one.
* If no valid cache directory can be found, use /tmp.
* @param handle the context handle
* @return pointer to a writable cache directory.
@@ -1251,7 +1251,7 @@ int _alpm_access(alpm_handle_t *handle, const char *dir, const char *file, int a
/** Checks whether a string matches a shell wildcard pattern.
* Wrapper around fnmatch.
- * @param pattern pattern to match aganist
+ * @param pattern pattern to match against
* @param string string to check against pattern
* @return 0 if string matches pattern, non-zero if they don't match and on
* error