The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=39a30a8097cfc78291376991ab5373f279db662d
commit 39a30a8097cfc78291376991ab5373f279db662d Author: Wolfram Schneider <[email protected]> AuthorDate: 2022-02-03 16:56:32 +0000 Commit: Wolfram Schneider <[email protected]> CommitDate: 2022-02-03 16:57:25 +0000 better printf(3) format usage Reported by: jhb --- usr.bin/locate/locate/fastfind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/locate/locate/fastfind.c b/usr.bin/locate/locate/fastfind.c index 0dbec4ea15d3..2300d17cff00 100644 --- a/usr.bin/locate/locate/fastfind.c +++ b/usr.bin/locate/locate/fastfind.c @@ -296,7 +296,7 @@ fastfind } if (p - path >= LOCATE_PATH_MAX) - errx(1, "corrupted database: %s %zu", database, (size_t)(p - path)); + errx(1, "corrupted database: %s %td", database, p - path); }
