diff options
author | Bruce Evans <bde@FreeBSD.org> | 2001-08-29 13:52:27 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2001-08-29 13:52:27 +0000 |
commit | 1643f03d5ffcd546a5ab371be686995141365d93 (patch) | |
tree | 4587fdf85fbc795e0cbf9e3c4a511da739cd65a8 /lib/libc/gen/initgroups.c | |
parent | eac68b24dcd8357a8f689bc295009de0e236565c (diff) |
Notes
Diffstat (limited to 'lib/libc/gen/initgroups.c')
-rw-r--r-- | lib/libc/gen/initgroups.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/gen/initgroups.c b/lib/libc/gen/initgroups.c index b1ddd866e08c6..99189559870e2 100644 --- a/lib/libc/gen/initgroups.c +++ b/lib/libc/gen/initgroups.c @@ -32,13 +32,20 @@ */ #if defined(LIBC_SCCS) && !defined(lint) +#if 0 static char sccsid[] = "@(#)initgroups.c 8.1 (Berkeley) 6/4/93"; +#else +static const char rcsid[] = + "$FreeBSD$"; +#endif #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> #include <stdio.h> +#include "namespace.h" #include <err.h> +#include "un-namespace.h" #include <unistd.h> int @@ -53,7 +60,7 @@ initgroups(uname, agroup) warnx("%s is in too many groups, using first %d", uname, ngroups); if (setgroups(ngroups, groups) < 0) { - warn("setgroups"); + _warn("setgroups"); return (-1); } return (0); |