From c207fe4548b1a1e52419123493517bbde1c5e30b Mon Sep 17 00:00:00 2001 From: glebius Date: Fri, 4 Feb 2005 16:08:20 +0000 Subject: [PATCH] - Fix build with TRACE_MESSAGES defined - Remove extra parenthesis --- sys/netgraph/ng_socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c index 744f9a94fe33..29f3e9916d01 100644 --- a/sys/netgraph/ng_socket.c +++ b/sys/netgraph/ng_socket.c @@ -264,8 +264,8 @@ ngc_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr, printf("err=%d\n",error); break; } - if (((error) = ng_address_path((pcbp->sockdata->node), (item), - (path), (NULL))) == 0) { + if ((error = ng_address_path((pcbp->sockdata->node), (item), + (path), 0)) == 0) { printf("[%x]:<---------[socket]: c=<%d>cmd=%x(%s) f=%x #%d (%s)\n", item->el_dest->nd_ID, msg->header.typecookie,