[CRIU] [PATCH] net: Fix typo in recv_fd

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 16 09:17:40 EDT 2012


On Fri, Mar 16, 2012 at 05:13:29PM +0400, Stanislav Kinsbursky wrote:
> >
> >  	cmsg = CMSG_FIRSTHDR(&msg);
> >-	if (!cmsg || !cmsg->cmsg_type == SCM_RIGHTS)
> >+	if (!cmsg || cmsg->cmsg_type != SCM_RIGHTS)
> 
> This is a "typo"?!

Yes, I think != was in mind but "typoed" into plain !.

	Cyrill


More information about the CRIU mailing list