diff options
author | glebius <glebius@FreeBSD.org> | 2005-02-04 16:08:20 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-02-04 16:08:20 +0000 |
commit | c207fe4548b1a1e52419123493517bbde1c5e30b (patch) | |
tree | fd3bccb7d825c05fe7e53ccc9caf561a5f4aed18 /sys | |
parent | b8bf224a0f203144f7b6635334497a3cefc55408 (diff) | |
download | FreeBSD-src-c207fe4548b1a1e52419123493517bbde1c5e30b.zip FreeBSD-src-c207fe4548b1a1e52419123493517bbde1c5e30b.tar.gz |
- Fix build with TRACE_MESSAGES defined
- Remove extra parenthesis
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netgraph/ng_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_socket.c b/sys/netgraph/ng_socket.c index 744f9a9..29f3e99 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, |