sys/ktrace.h: fix off-by-one error in snprintb for ktrace flags

This commit is contained in:
rillig 2024-05-10 09:30:47 +00:00
parent d5c41e0169
commit 328250ee47
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ktrace.h,v 1.68 2022/06/29 22:10:43 riastradh Exp $ */
/* $NetBSD: ktrace.h,v 1.69 2024/05/10 09:30:47 rillig Exp $ */
/*
* Copyright (c) 1988, 1993
@ -265,9 +265,9 @@ struct ktr_execfd {
"b\16MIB\0" \
"b\17EXEC_FD\0" \
"f\30\4VERSION\0" \
"b\36TRC_EMUL\0" \
"b\37INHERIT\0" \
"b\40PERSISTENT\0"
"b\35TRC_EMUL\0" \
"b\36INHERIT\0" \
"b\37PERSISTENT\0"
/*
* trace flags (also in p_traceflags)