From a75bad23ef43e05715e0bbf57bb24f682c1bdd13 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Fri, 31 May 2013 11:21:55 +0200 Subject: ring: fix wrong error message text in __get_sockopt_tpacket Arg, this was a leftover when copying the other function. So fix it! Signed-off-by: Daniel Borkmann --- ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ring.h b/ring.h index 7590223..1074e8d 100644 --- a/ring.h +++ b/ring.h @@ -121,7 +121,7 @@ static inline int __get_sockopt_tpacket(int sock) ret = getsockopt(sock, SOL_PACKET, PACKET_VERSION, &val, &len); if (ret) - panic("Cannot set tpacketv2!\n"); + panic("Cannot get tpacket version!\n"); return val; } -- cgit v1.2.3-54-g00ecf