summaryrefslogtreecommitdiff
path: root/net/slirp/files/patch-ab
blob: dc7b2a00867b8201f9ae87fee53c43ae3aa0e6d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- tcp_subr.c.orig	Sun Jul 21 19:23:18 2002
+++ tcp_subr.c	Sun Jul 21 19:25:12 2002
@@ -241,7 +241,7 @@
  * then send a RST to peer.
  */
 struct tcpcb *
-tcp_drop(struct tcpcb *tp, int errno) {
+tcp_drop(struct tcpcb *tp, int err) {
 /* tcp_drop(tp, errno)
 	register struct tcpcb *tp;
 	int errno;
@@ -250,7 +250,7 @@
 
 	DEBUG_CALL("tcp_drop");
 	DEBUG_ARG("tp = %lx", (long)tp);
-	DEBUG_ARG("errno = %d", errno);
+	DEBUG_ARG("errno = %d", err);
 	
 	if (TCPS_HAVERCVDSYN(tp->t_state)) {
 		tp->t_state = TCPS_CLOSED;