From: Jeremy Harris Date: Fri, 12 Feb 2021 17:40:28 +0000 (+0000) Subject: Fix FreeBSD 13 build X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/e8fd2c45ddd6f59f159baaa2c154ced5ce36f3df Fix FreeBSD 13 build --- diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c index 93c89a450..cc1d6333c 100644 --- a/src/src/transports/appendfile.c +++ b/src/src/transports/appendfile.c @@ -1779,8 +1779,8 @@ if (!isdirectory) if (statbuf.st_nlink != 1) { addr->basic_errno = ERRNO_NOTREGULAR; - addr->message = string_sprintf("mailbox %s%s has too many links (%d)", - filename, islink ? " (symlink)" : "", statbuf.st_nlink); + addr->message = string_sprintf("mailbox %s%s has too many links (%lu)", + filename, islink ? " (symlink)" : "", (ulong)statbuf.st_nlink); goto RETURN; }