mirror of
https://github.com/varun-r-mallya/pylibbpf.git
synced 2026-02-12 16:11:00 +00:00
Reimplement BpfProgram
This commit is contained in:
@ -65,7 +65,7 @@ void BpfObject::load() {
|
||||
}
|
||||
|
||||
if (bpf_object__load(obj_)) {
|
||||
std::string error_msg = " object from file '" + object_path_ + "': " + std::strerror(errno);
|
||||
error_msg += " object from file '" + object_path_ + "': " + std::strerror(errno);
|
||||
bpf_object__close(obj_);
|
||||
obj_ = nullptr;
|
||||
throw BpfException(error_msg);
|
||||
|
||||
Reference in New Issue
Block a user