On Sun, 9 Apr 2006, Pawel Jakub Dawidek wrote:

+> -static int
+> +static void
+>  ngd_detach(struct socket *so)
+>  {
+>   struct ngpcb *const pcbp = sotongpcb(so);
+>
+> - if (pcbp == NULL)
+> -         return (EINVAL);
+> + KASSERT(pcbp == NULL, ("ngd_detach: pcbp == NULL"));

From what I see, it should be:

        KASSERT(pcbp != NULL, ("ngd_detach: pcbp == NULL"));

This has already been fixed in ng_socket.c:1.73.

Thanks,

Robert N M Watson
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to