summaryrefslogtreecommitdiffstats
path: root/sys/dev/wb/if_wb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wb/if_wb.c')
-rw-r--r--sys/dev/wb/if_wb.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/wb/if_wb.c b/sys/dev/wb/if_wb.c
index 8bc28ea..f96441c 100644
--- a/sys/dev/wb/if_wb.c
+++ b/sys/dev/wb/if_wb.c
@@ -142,7 +142,7 @@ static int wb_probe(device_t);
static int wb_attach(device_t);
static int wb_detach(device_t);
-static void wb_bfree(void *addr, void *args);
+static int wb_bfree(struct mbuf *, void *addr, void *args);
static int wb_newbuf(struct wb_softc *, struct wb_chain_onefrag *,
struct mbuf *);
static int wb_encap(struct wb_softc *, struct wb_chain *, struct mbuf *);
@@ -822,12 +822,11 @@ wb_list_rx_init(sc)
return(0);
}
-static void
-wb_bfree(buf, args)
- void *buf;
- void *args;
+static int
+wb_bfree(struct mbuf *m, void *buf, void *args)
{
+ return (EXT_FREE_OK);
}
/*
OpenPOWER on IntegriCloud