From 1b3d9ff3978ec2fe2d702248f24a03fd2a1ee13a Mon Sep 17 00:00:00 2001 From: William Blanke Date: Tue, 24 Sep 2024 10:07:26 -0700 Subject: [PATCH] log --- src/prover_slow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prover_slow.h b/src/prover_slow.h index c5a12d00..eef0132a 100644 --- a/src/prover_slow.h +++ b/src/prover_slow.h @@ -117,8 +117,8 @@ std::vector ProveSlow(integer& D, form& x, uint64_t num_iterations, std if ((num_iterations&0xffff)==0) { struct stat buffer; char sz[200]; - sprintf(sz,"num_iterations %d shutdown_file_path.c_str() %s",num_iterations,shutdown_file_path.c_str()) - logit(sz) + sprintf(sz,"num_iterations %llu shutdown_file_path.c_str() %s",num_iterations,shutdown_file_path.c_str()) + logit(sz); if ((shutdown_file_path!="") && (stat (shutdown_file_path.c_str(), &buffer) != 0)) logit("aborting"); return {};