Commit 24a80928 authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1648 from neosilky/spelling-fix

Fix spelling mistake in raised Exception
parents ddd5dd5e 6cb3c3df
......@@ -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