From: Michael Tremer Date: Mon, 18 May 2026 15:12:49 +0000 (+0000) Subject: main: Use the correct formatter for the serial X-Git-Tag: 0.0.1~28 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6a6e87886b3499a7803dc04e709c965ddd1dedd0;p=zone-sync.git main: Use the correct formatter for the serial Signed-off-by: Michael Tremer --- diff --git a/main.c b/main.c index 0fd56c4..fa4937e 100644 --- a/main.c +++ b/main.c @@ -263,7 +263,7 @@ static int do_transfer(dns_zone_t* zone, uint32_t serial) { // Try an incremental xfr if we have a serial if (serial) { - DEBUG("Zone is at serial %d, trying IXFR\n", serial); + DEBUG("Zone is at serial %u, trying IXFR\n", serial); xfrtype = dns_rdatatype_soa; // Otherwise force AXFR @@ -291,7 +291,7 @@ static isc_result_t zone_loaded(void* data) { r = dns_zone_getserial(zone, &serial); switch (r) { case ISC_R_SUCCESS: - DEBUG("Zone loaded from %s with serial %d\n", dns_zone_getfile(zone), serial); + DEBUG("Zone loaded from %s with serial %u\n", dns_zone_getfile(zone), serial); break; case DNS_R_NOTLOADED: