PERFORCE change 200055 for review

John Baldwin jhb at FreeBSD.org
Tue Oct 11 13:23:56 UTC 2011


http://p4web.freebsd.org/@@200055?ac=10

Change 200055 by jhb at jhb_jhbbsd on 2011/10/11 13:23:04

	Add missing braces.

Affected files ...

.. //depot/projects/smpng/sys/compat/linux/linux_uid16.c#29 edit

Differences ...

==== //depot/projects/smpng/sys/compat/linux/linux_uid16.c#29 (text+ko) ====

@@ -113,9 +113,10 @@
 		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 p4-projects mailing list