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