summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-31 11:21:55 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-31 11:21:55 +0200
commita75bad23ef43e05715e0bbf57bb24f682c1bdd13 (patch)
treec30eff3f1dcf1d467666ed403fa1c093397540cc
parent2f39b007d5382d01fc424e22b8e1a3681c2bc8cf (diff)
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 <dborkman@redhat.com>
-rw-r--r--ring.h2
1 files changed, 1 insertions, 1 deletions
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;
}