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>
Sat, 12 Sep 2020 21:13:48 +0000 (22:13 +0100)
src/exim_monitor/em_menu.c

index 18e6a87dafd93dac5b108b78f5c76e9b5bb52465..08fafead88c60873f39176a9b7be61c1311bd7e1 100644 (file)
@@ -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);