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:
parent
d30878763c
commit
3c433abb54
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue