make die messages slightly different
When users are presented with a failure message, they often start off
by searching the code for that message. When the messages are exactly
the same, it can be confusing. Make these two slightly different.
Bug: chromium:934859
Test: unittests pass
Change-Id: Id59c63691c124755680388d7e4b53fe40d212aca
diff --git a/libminijail.c b/libminijail.c
index d9b7da4..43de3c4 100644
--- a/libminijail.c
+++ b/libminijail.c
@@ -389,7 +389,7 @@
* SECCOMP_RET_TRAP to both kill the entire process and report
* failing syscalls, since it will be brittle. Just bail.
*/
- die("SECCOMP_RET_LOG not available, cannot use logging and "
+ die("SECCOMP_RET_LOG not available, cannot use logging with "
"thread sync at the same time");
}
@@ -409,8 +409,8 @@
* SECCOMP_RET_TRAP to both kill the entire process and report
* failing syscalls, since it will be brittle. Just bail.
*/
- die("SECCOMP_RET_LOG not available, cannot use logging and "
- "thread sync at the same time");
+ die("SECCOMP_RET_LOG not available, cannot use thread sync with "
+ "logging at the same time");
}
if (debug_logging_allowed()) {