summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/idvec.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-30 15:07:43 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-30 15:07:43 +0000
commit09656877af9f4ed8be8e480edf4b746b4436276d (patch)
treee8be21efdf38304238037934c12936daa19193bd /libshouldbeinlibc/idvec.c
parentbe21a7d2e77026c5eab866b5e0b136d0f2d17bd5 (diff)
1999-09-29 Mark Kettenis <kettenis@gnu.org>
* idvec.c (idvec_setid): Switch last two arguments in call to idvec_insert_only. * idvec.h: Doc fix.
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;