summaryrefslogtreecommitdiffstats
path: root/sys/netatalk/ddp_pcb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netatalk/ddp_pcb.c')
-rw-r--r--sys/netatalk/ddp_pcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatalk/ddp_pcb.c b/sys/netatalk/ddp_pcb.c
index 1b91a05..f548891 100644
--- a/sys/netatalk/ddp_pcb.c
+++ b/sys/netatalk/ddp_pcb.c
@@ -216,7 +216,7 @@ ddp_abort(struct socket *so)
static void
at_sockaddr(struct ddpcb *ddp, struct sockaddr **addr)
{
- *addr = dup_sockaddr((struct sockaddr *)&ddp->ddp_lsat, 0);
+ *addr = sodupsockaddr((struct sockaddr *)&ddp->ddp_lsat, M_NOWAIT);
}
static int
OpenPOWER on IntegriCloud