aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slirp.h2
-rw-r--r--tcp_subr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/slirp.h b/slirp.h
index 880b688..4a27a2b 100644
--- a/slirp.h
+++ b/slirp.h
@@ -296,7 +296,7 @@ int tcp_attach _P((struct socket *));
u_int8_t tcp_tos _P((struct socket *));
int tcp_emu _P((struct socket *, struct mbuf *));
int tcp_ctl _P((struct socket *));
-struct tcpcb *tcp_drop(struct tcpcb *tp, int errno);
+struct tcpcb *tcp_drop(struct tcpcb *tp, int err);
#ifdef USE_PPP
#define MIN_MRU MINMRU
diff --git a/tcp_subr.c b/tcp_subr.c
index 1590262..06940a4 100644
--- a/tcp_subr.c
+++ b/tcp_subr.c
@@ -239,7 +239,7 @@ struct tcpcb *tcp_newtcpcb(so) struct socket *so;
* the specified error. If connection is synchronized,
* then send a RST to peer.
*/
-struct tcpcb *tcp_drop(struct tcpcb *tp, int errno)
+struct tcpcb *tcp_drop(struct tcpcb *tp, int err)
{
/* tcp_drop(tp, errno)
register struct tcpcb *tp;