summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-02-12 17:40:28 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-02-12 17:41:44 +0000
commite8fd2c45ddd6f59f159baaa2c154ced5ce36f3df (patch)
tree16efb8d9c53f23c4054f0412a51836de8a34ab0b /src
parent5ce86c4f552071ad7408c40324d5211ab2a2da82 (diff)
Fix FreeBSD 13 build
Diffstat (limited to 'src')
-rw-r--r--src/src/transports/appendfile.c4
1 files changed, 2 insertions, 2 deletions
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;
}