svn commit: r226253 - head/sys/compat/linux

Christian Brueffer brueffer at FreeBSD.org
Tue Oct 11 13:40:38 UTC 2011


Author: brueffer
Date: Tue Oct 11 13:40:37 2011
New Revision: 226253
URL: http://svn.freebsd.org/changeset/base/226253

Log:
  Add curly braces missed in r226247.
  
  Pointy hat to:	brueffer
  Submitted by:	many
  MFC after:	1 week

Modified:
  head/sys/compat/linux/linux_uid16.c

Modified: head/sys/compat/linux/linux_uid16.c
==============================================================================
--- head/sys/compat/linux/linux_uid16.c	Tue Oct 11 13:24:37 2011	(r226252)
+++ head/sys/compat/linux/linux_uid16.c	Tue Oct 11 13:40:37 2011	(r226253)
@@ -113,9 +113,10 @@ linux_setgroups16(struct thread *td, str
 		return (EINVAL);
 	linux_gidset = malloc(ngrp * sizeof(*linux_gidset), M_TEMP, M_WAITOK);
 	error = copyin(args->gidset, linux_gidset, ngrp * sizeof(l_gid16_t));
-	if (error)
+	if (error) {
 		free(linux_gidset, M_TEMP);
 		return (error);
+	}
 	newcred = crget();
 	p = td->td_proc;
 	PROC_LOCK(p);


More information about the svn-src-all mailing list