summaryrefslogtreecommitdiff
path: root/ring_rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'ring_rx.c')
-rw-r--r--ring_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring_rx.c b/ring_rx.c
index 5675a81..d89d762 100644
--- a/ring_rx.c
+++ b/ring_rx.c
@@ -30,7 +30,7 @@ void destroy_rx_ring(int sock, struct ring *ring)
ret = setsockopt(sock, SOL_PACKET, PACKET_RX_RING, &ring->layout,
sizeof(ring->layout));
if (unlikely(ret))
- panic("Cannot destroy the RX_RING!\n");
+ panic("Cannot destroy the RX_RING: %s!\n", strerror(errno));
xfree(ring->frames);
}