Module Name:    src
Committed By:   christos
Date:           Thu Jan 24 17:46:30 UTC 2013

Modified Files:
        src/usr.bin/newgrp: grutil.c

Log Message:
fix type or rval.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/newgrp/grutil.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/newgrp/grutil.c
diff -u src/usr.bin/newgrp/grutil.c:1.2 src/usr.bin/newgrp/grutil.c:1.3
--- src/usr.bin/newgrp/grutil.c:1.2	Mon Apr 28 16:24:14 2008
+++ src/usr.bin/newgrp/grutil.c	Thu Jan 24 12:46:30 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: grutil.c,v 1.2 2008/04/28 20:24:14 martin Exp $	*/
+/*	$NetBSD: grutil.c,v 1.3 2013/01/24 17:46:30 christos Exp $	*/
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: grutil.c,v 1.2 2008/04/28 20:24:14 martin Exp $");
+__RCSID("$NetBSD: grutil.c,v 1.3 2013/01/24 17:46:30 christos Exp $");
 
 #include <sys/param.h>
 #include <err.h>
@@ -137,7 +137,8 @@ addgid(gid_t *groups, int ngroups, int n
 static addgrp_ret_t
 addgrp(gid_t newgid, int makespace)
 {
-	int ngroups, ngroupsmax, rval;
+	int ngroups, ngroupsmax;
+	addgrp_ret_t rval;
 	gid_t *groups;
 	gid_t oldgid;
 

Reply via email to