Gitweb:
https://git.exim.org/exim.git/commitdiff/e8fd2c45ddd6f59f159baaa2c154ced5ce36f3df
Commit: e8fd2c45ddd6f59f159baaa2c154ced5ce36f3df
Parent: 5ce86c4f552071ad7408c40324d5211ab2a2da82
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Feb 12 17:40:28 2021 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Fri Feb 12 17:41:44 2021 +0000
Fix FreeBSD 13 build
---
src/src/transports/appendfile.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/src/transports/appendfile.c b/src/src/transports/appendfile.c
index 93c89a4..cc1d633 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;
}