summaryrefslogtreecommitdiff
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-17 18:01:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2023-02-17 18:01:27 +0000
commit4954c84eaf7cb6856e483998dc37a0dfce283e9a (patch)
tree71faba184b4bfaa0d0d6082bf176040b130d8aae /usr.bin/kdump
parentf0748e41c9288dfe9d29e03170110ce10a577d6e (diff)
KTRC_CODE__SYSCALL is never set anymore, because __syscall() is gone.
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 3f5ce0c4780..86a68f0992c 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.155 2023/01/16 05:32:05 deraadt Exp $ */
+/* $OpenBSD: kdump.c,v 1.156 2023/02/17 18:01:26 deraadt Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -920,8 +920,6 @@ ktrsyscall(struct ktr_syscall *ktr, size_t ktrlen)
if (ktr->ktr_code & KTRC_CODE_SYSCALL)
(void)printf("(via syscall) ");
- else if (ktr->ktr_code & KTRC_CODE__SYSCALL)
- (void)printf("(via __syscall) ");
code = ktr->ktr_code & KTRC_CODE_MASK;
if (code >= SYS_MAXSYSCALL || code < 0)
(void)printf("[%d]", code);