aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2025-10-08 10:07:01 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2025-10-08 10:07:01 +0000
commitd96f9a4688668ececc09c61dcf6b539a55112cc0 (patch)
tree9cdd43af5e43a53303f56adb2073de50b18917d8
parentfd895b4f0423e430e311f5ee340b21458dc46b47 (diff)
rcorder: Fix grammar in warning about loops
MFC after: 1 week Reviewed by: ae Differential Revision: https://reviews.freebsd.org/D52951
-rw-r--r--sbin/rcorder/rcorder.c8
1 files 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));
}