Add curly braces missed in r226247.

Pointy hat to:	brueffer
Submitted by:	many
MFC after:	1 week
This commit is contained in:
Christian Brueffer 2011-10-11 13:40:37 +00:00
parent 7906f59a29
commit 796fa5e465

View File

@ -113,9 +113,10 @@ linux_setgroups16(struct thread *td, struct linux_setgroups16_args *args)
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);