Date: Thu, 3 Feb 2022 16:58:45 GMT From: Wolfram Schneider <wosch@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 39a30a8097cf - main - better printf(3) format usage Message-ID: <202202031658.213Gwjct025791@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=39a30a8097cfc78291376991ab5373f279db662d commit 39a30a8097cfc78291376991ab5373f279db662d Author: Wolfram Schneider <wosch@FreeBSD.org> AuthorDate: 2022-02-03 16:56:32 +0000 Commit: Wolfram Schneider <wosch@FreeBSD.org> 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202031658.213Gwjct025791>