Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
24a80928
Commit
24a80928
authored
Mar 23, 2018
by
yonghong-song
Committed by
GitHub
Mar 23, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1648 from neosilky/spelling-fix
Fix spelling mistake in raised Exception
parents
ddd5dd5e
6cb3c3df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/python/bcc/__init__.py
src/python/bcc/__init__.py
+1
-1
No files found.
src/python/bcc/__init__.py
View file @
24a80928
...
...
@@ -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 privil
e
ges to run"
)
errstr
=
os
.
strerror
(
ct
.
get_errno
())
raise
Exception
(
"Failed to load BPF program %s: %s"
%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment