Skip to content

Commit

Permalink
Merge pull request iovisor#557 from ryanmiao/mypr
Browse files Browse the repository at this point in the history
set use_errno to True for libbcc.so
  • Loading branch information
drzaeus77 committed Jun 1, 2016
2 parents 4004295 + f4a3e41 commit 8084f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/bcc/libbcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import ctypes as ct

lib = ct.CDLL("libbcc.so.0")
lib = ct.CDLL("libbcc.so.0", use_errno=True)

# keep in sync with bpf_common.h
lib.bpf_module_create_b.restype = ct.c_void_p
Expand Down

0 comments on commit 8084f8c

Please sign in to comment.