eximon: fix FreeBSD build
authorRichard Clayton <richard@highwayman.com>
Sat, 12 Sep 2020 21:10:04 +0000 (22:10 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 15 Sep 2020 17:51:46 +0000 (18:51 +0100)
(cherry picked from commit ba00bdd4609501dd3ffe187074ff7f8197a9059f)

src/exim_monitor/em_menu.c

index 33b3e0c94ada1dc462026827f5dfae9ca24fa23f..2a70a1831b0ae8f159223344e7d845f0b9c4cf88 100644 (file)
@@ -670,7 +670,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);