artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124dd12
)
Handle new NIL type in ba_name().
author
mpi
<mpi@openbsd.org>
Thu, 9 Sep 2021 09:43:49 +0000
(09:43 +0000)
committer
mpi
<mpi@openbsd.org>
Thu, 9 Sep 2021 09:43:49 +0000
(09:43 +0000)
Fix filter debugging.
usr.sbin/btrace/btrace.c
patch
|
blob
|
history
diff --git
a/usr.sbin/btrace/btrace.c
b/usr.sbin/btrace/btrace.c
index
cd63d65
..
65e2a52
100644
(file)
--- a/
usr.sbin/btrace/btrace.c
+++ b/
usr.sbin/btrace/btrace.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: btrace.c,v 1.5
2 2021/09/09 07:17:31
mpi Exp $ */
+/* $OpenBSD: btrace.c,v 1.5
3 2021/09/09 09:43:49
mpi Exp $ */
/*
* Copyright (c) 2019 - 2021 Martin Pieuchot <mpi@openbsd.org>
@@
-1157,6
+1157,8
@@
const char *
ba_name(struct bt_arg *ba)
{
switch (ba->ba_type) {
+ case B_AT_NIL:
+ return "0";
case B_AT_VAR:
case B_AT_MAP:
break;