summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/idvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libshouldbeinlibc/idvec.c')
-rw-r--r--libshouldbeinlibc/idvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshouldbeinlibc/idvec.c b/libshouldbeinlibc/idvec.c
index c9c0847b..692c4788 100644
--- a/libshouldbeinlibc/idvec.c
+++ b/libshouldbeinlibc/idvec.c
@@ -326,7 +326,7 @@ idvec_setid (struct idvec *eff, struct idvec *avail, uid_t id, int *secure)
err = idvec_add (eff, id);
if (avail->num > 0 && !err)
- err = idvec_insert_only (avail, id, 1);
+ err = idvec_insert_only (avail, 1, id);
if (err)
return err;