From: Richard Clayton Date: Sat, 12 Sep 2020 21:10:04 +0000 (+0100) Subject: eximon: fix FreeBSD build X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/ba00bdd4609501dd3ffe187074ff7f8197a9059f eximon: fix FreeBSD build --- diff --git a/src/exim_monitor/em_menu.c b/src/exim_monitor/em_menu.c index 18e6a87da..08fafead8 100644 --- a/src/exim_monitor/em_menu.c +++ b/src/exim_monitor/em_menu.c @@ -633,7 +633,7 @@ if (spool_read_header(buffer, TRUE, FALSE) != spool_read_OK) sprintf(CS big_buffer, "%s/input/%s", spool_directory, buffer); if (Ustat(big_buffer, &statbuf) == 0) text_showf(text, "Format error in spool file %s: size=%lu\n", buffer, - (ulong)statbuf.st_size); + (unsigned long)statbuf.st_size); else text_showf(text, "Format error in spool file %s\n", buffer); } else text_showf(text, "Read error for spool file %s\n", buffer);