From: Fernando Fernandez Mancera Date: Mon, 29 Oct 2018 16:07:41 +0000 (+0100) Subject: Improve log message in hs_service.c X-Git-Tag: tor-0.4.0.1-alpha~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f60607ee96bf85286c7ef58f7fcf5ab00f0c3ad0;p=thirdparty%2Ftor.git Improve log message in hs_service.c Signed-off-by: Fernando Fernandez Mancera --- diff --git a/src/feature/hs/hs_service.c b/src/feature/hs/hs_service.c index 7d56c9e2ad..c288e28e80 100644 --- a/src/feature/hs/hs_service.c +++ b/src/feature/hs/hs_service.c @@ -2931,8 +2931,8 @@ set_descriptor_revision_counter(hs_service_descriptor_t *hs_desc, time_t now, /* The OPE module returns CRYPTO_OPE_ERROR in case of errors. */ tor_assert_nonfatal(rev_counter < CRYPTO_OPE_ERROR); - log_info(LD_REND, "Encrypted revision counter %d to %ld", - (int) seconds_since_start_of_srv, (long int) rev_counter); + log_info(LD_REND, "Encrypted revision counter %d to %" PRIu64, + (int) seconds_since_start_of_srv, rev_counter); hs_desc->desc->plaintext_data.revision_counter = rev_counter; }