From eea5f51ff6a3382debe76e65a7eb194baf2930bd Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 28 Sep 2020 10:04:56 +0200 Subject: executor: check for \n in fail/exitf messages --- executor/executor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/executor.cc') diff --git a/executor/executor.cc b/executor/executor.cc index aa9f1d053..9473b871f 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -673,7 +673,7 @@ retry: break; case arg_csum_chunk_const: if (chunk_size != 2 && chunk_size != 4 && chunk_size != 8) { - fail("bad checksum const chunk size %lld\n", chunk_size); + fail("bad checksum const chunk size %lld", chunk_size); } // Here we assume that const values come to us big endian. debug_verbose("#%lld: const chunk, value: %llx, size: %llu\n", -- cgit mrf-deployment