Commit 6cb3c3df authored by Daniel Lockyer's avatar Daniel Lockyer

Fix spelling mistake in raised Exception

parent c5c17472
......@@ -348,7 +348,7 @@ class BPF(object):
if fd < 0:
atexit.register(self.donothing)
if ct.get_errno() == errno.EPERM:
raise Exception("Need super-user privilges to run")
raise Exception("Need super-user privileges to run")
errstr = os.strerror(ct.get_errno())
raise Exception("Failed to load BPF program %s: %s" %
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment