git: d96f9a468866 - main - rcorder: Fix grammar in warning about loops
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Oct 2025 10:07:28 UTC
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=d96f9a4688668ececc09c61dcf6b539a55112cc0 commit d96f9a4688668ececc09c61dcf6b539a55112cc0 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2025-10-08 10:07:01 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2025-10-08 10:07:01 +0000 rcorder: Fix grammar in warning about loops MFC after: 1 week Reviewed by: ae Differential Revision: https://reviews.freebsd.org/D52951 --- sbin/rcorder/rcorder.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sbin/rcorder/rcorder.c b/sbin/rcorder/rcorder.c index 87b0e873c7ae..3d2a67c82a5a 100644 --- a/sbin/rcorder/rcorder.c +++ b/sbin/rcorder/rcorder.c @@ -980,9 +980,11 @@ do_file(filenode *fnode, strnodelist *stack_ptr) fnode->last->next = fnode->next; } - if (fnode->issues_count) - warnx("`%s' was seen in circular dependencies for %d times.", - fnode->filename, fnode->issues_count); + if (fnode->issues_count) { + warnx("`%s' was seen in circular dependencies %d time%s.", + fnode->filename, fnode->issues_count, + fnode->issues_count > 1 ? "s" : ""); + } DPRINTF((stderr, "nuking %s\n", fnode->filename)); }