summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2013-04-14 19:33:46 -0700
committerAllan McRae <allan@archlinux.org>2013-04-18 13:20:13 +1000
commit769facca22db733f0a70ce6a38062d37fe8d2579 (patch)
treef344a3ec31338568237ca4eeff0a4025b52ee0f5 /src/pacman/pacman.c
parent597286eb258f841dfc00f65474138fc6192f0092 (diff)
downloadpacman-769facca22db733f0a70ce6a38062d37fe8d2579.tar.xz
Fix spelling errors using 'codespell' tool
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 82f117bc..921331c6 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -287,7 +287,7 @@ static ssize_t xwrite(int fd, const void *buf, size_t count)
}
/** Catches thrown signals. Performs necessary cleanup to ensure database is
- * in a consistant state.
+ * in a consistent state.
* @param signum the thrown signal
*/
static void handler(int signum)
@@ -312,7 +312,7 @@ static void handler(int signum)
return;
}
}
- /* SIGINT: no commiting transaction, release it now and then exit pacman
+ /* SIGINT: no committing transaction, release it now and then exit pacman
* SIGHUP, SIGTERM: release no matter what */
alpm_trans_release(config->handle);
/* output a newline to be sure we clear any line we may be on */