From b15fc96c7c5e39acf96366af6c7048d9dcb0d9c7 Mon Sep 17 00:00:00 2001 From: kn Date: Fri, 13 Sep 2024 20:19:50 +0000 Subject: [PATCH] rectify comment about syncing trace points letters, kdump usage has none kdump.c r1.138 in 2019 dropped the letters list in favour of [-t trstr]. --- usr.bin/ktrace/subr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.bin/ktrace/subr.c b/usr.bin/ktrace/subr.c index ab8c35d7e73..c3a939a9d34 100644 --- a/usr.bin/ktrace/subr.c +++ b/usr.bin/ktrace/subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr.c,v 1.17 2023/12/15 15:12:08 deraadt Exp $ */ +/* $OpenBSD: subr.c,v 1.18 2024/09/13 20:19:50 kn Exp $ */ /* $NetBSD: subr.c,v 1.6 1995/08/31 23:01:45 jtc Exp $ */ /*- @@ -40,8 +40,7 @@ /* * If you change the trace point letters, then update to match: - * ktrace/ktrace.1, ktrace/ltrace.1, kdump/kdump.1, and - * usage() in kdump/kdump.c + * ktrace/ktrace.1, ktrace/ltrace.1 and kdump/kdump.1 */ int getpoints(const char *s, int defpoints) -- 2.20.1