aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-06-26 16:59:36 -0400
committerTreehugger Robot <treehugger-gerrit@google.com>2019-06-27 16:25:57 +0000
commit52f6adabb6f44761cc23a226cc396bd5c664641c (patch)
tree4f4754cb5c77e6ec125ea360da6235060f37f4e5
parent64cf3cbb6e8c3d656304944c8c8f327b6ec71aaa (diff)
downloadminijail-crosvm-master.tar.gz
make die messages slightly differentandroid-o-mr1-iot-release-1.0.14crosvm-master
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
-rw-r--r--libminijail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libminijail.c b/libminijail.c
index d9b7da4..43de3c4 100644
--- a/libminijail.c
+++ b/libminijail.c
@@ -389,7 +389,7 @@ void API minijail_set_seccomp_filter_tsync(struct minijail *j)
* 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 @@ void API minijail_log_seccomp_filter_failures(struct minijail *j)
* 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()) {