diff options
author | Christian Hesse <mail@eworm.de> | 2017-06-06 21:29:09 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-07-06 12:54:34 +1000 |
commit | 3c433abb54e8bc01bed0b2263ded0c339a58585a (patch) | |
tree | c23fb7713597389c8354d047b58ea1942ded3cdc /lib | |
parent | d30878763ce1b5be453b563f2729d7333242e79b (diff) |
fix typo in libalpm comment
contatenate -> concatenate
Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/alpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index d3f951d5..28685fef 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -64,7 +64,7 @@ alpm_handle_t SYMEXPORT *alpm_initialize(const char *root, const char *dbpath, goto cleanup; } - /* to contatenate myhandle->root (ends with a slash) with SYSHOOKDIR (starts + /* to concatenate myhandle->root (ends with a slash) with SYSHOOKDIR (starts * with a slash) correctly, we skip SYSHOOKDIR[0]; the regular +1 therefore * disappears from the allocation */ MALLOC(hookdir, strlen(myhandle->root) + strlen(SYSHOOKDIR), goto nomem); |