Skip to content

Commit

Permalink
Fix spelling mistake in raised Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lockyer committed Mar 23, 2018
1 parent c5c1747 commit 6cb3c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/bcc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def load_func(self, func_name, prog_type):
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" %
Expand Down

0 comments on commit 6cb3c3d

Please sign in to comment.