aboutsummaryrefslogtreecommitdiff
path: root/src/os/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/users.c')
-rw-r--r--src/os/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/users.c b/src/os/users.c
index 9e1389b994..c8c2e773de 100644
--- a/src/os/users.c
+++ b/src/os/users.c
@@ -16,7 +16,7 @@ int os_get_usernames(garray_T *users)
if (users == NULL) {
return FALSE;
}
- ga_init2(users, sizeof(char *), 20);
+ ga_init(users, sizeof(char *), 20);
# if defined(HAVE_GETPWENT) && defined(HAVE_PWD_H)
char *user;