fix typo in libalpm comment

contatenate -> concatenate

Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Christian Hesse 2017-06-06 21:29:09 +02:00 committed by Allan McRae
parent d30878763c
commit 3c433abb54

View file

@ -64,7 +64,7 @@ alpm_handle_t SYMEXPORT *alpm_initialize(const char *root, const char *dbpath,
goto cleanup; 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 * with a slash) correctly, we skip SYSHOOKDIR[0]; the regular +1 therefore
* disappears from the allocation */ * disappears from the allocation */
MALLOC(hookdir, strlen(myhandle->root) + strlen(SYSHOOKDIR), goto nomem); MALLOC(hookdir, strlen(myhandle->root) + strlen(SYSHOOKDIR), goto nomem);