bmahler commented on code in PR #518:
URL: https://github.com/apache/mesos/pull/518#discussion_r1526872029


##########
src/linux/ebpf.cpp:
##########
@@ -91,7 +91,10 @@ Try<int> load(const Program& program)
     CHECK_ERROR(fd);
     CHECK_EQ(EACCES, fd.error().code)
       << "Expected BPF syscall to fail again with EACCES";
-    return Error(string("BPF verifier failed: ") + verifier_logs.c_str());

Review Comment:
   can you keep the comment but use .data() instead? that seems a bit more 
appropriate here and I suspect won't produce the warning?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to