git: 86d368403e65 - stable/13 - rcorder: Fix grammar in warning about loops
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Oct 2025 12:21:35 UTC
The branch stable/13 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=86d368403e6547c0b293424b983f1e2d85e13875
commit 86d368403e6547c0b293424b983f1e2d85e13875
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 11:44:40 +0000
rcorder: Fix grammar in warning about loops
MFC after: 1 week
Reviewed by: ae
Differential Revision: https://reviews.freebsd.org/D52951
(cherry picked from commit d96f9a4688668ececc09c61dcf6b539a55112cc0)
---
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));
}