From: Jeremy Harris Date: Fri, 12 Feb 2021 17:40:28 +0000 (+0000) Subject: Fix FreeBSD 13 build X-Git-Tag: exim-4.94.1~63 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/847af3bf8ab8fce233b5927428d5cd06bf8d9bc9?ds=sidebyside Fix FreeBSD 13 build (cherry picked from commit e8fd2c45ddd6f59f159baaa2c154ced5ce36f3df) --- diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c index f96d00182..9947971d9 100644 --- a/src/src/transports/appendfile.c +++ b/src/src/transports/appendfile.c @@ -1783,8 +1783,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; }