aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor.cc')
-rw-r--r--executor/executor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor.cc b/executor/executor.cc
index 80fdc49cc..0dec5e166 100644
--- a/executor/executor.cc
+++ b/executor/executor.cc
@@ -1511,6 +1511,7 @@ void setup_features(char** enable, int n)
void failmsg(const char* err, const char* msg, ...)
{
int e = errno;
+ fprintf(stderr, "SYZFAIL: %s\n", err);
if (msg) {
va_list args;
va_start(args, msg);
@@ -1518,7 +1519,6 @@ void failmsg(const char* err, const char* msg, ...)
va_end(args);
}
fprintf(stderr, " (errno %d: %s)\n", e, strerror(e));
- fprintf(stderr, "SYZFAIL: %s\n", err);
// fail()'s are often used during the validation of kernel reactions to queries
// that were issued by pseudo syscalls implementations. As fault injection may