From 0132222bd727d4c7e32240659ee429d24ec98bdf Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 17 Feb 2023 18:01:26 +0000 Subject: [PATCH] KTRC_CODE__SYSCALL is never set anymore, because __syscall() is gone. --- usr.bin/kdump/kdump.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- 2.20.1