From 3c433abb54e8bc01bed0b2263ded0c339a58585a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 6 Jun 2017 21:29:09 +0200 Subject: fix typo in libalpm comment contatenate -> concatenate Signed-off-by: Christian Hesse Signed-off-by: Allan McRae --- lib/libalpm/alpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/alpm.c') 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); -- cgit v1.2.3