From 3cbad8287aa0ed72e07df1130ce2ae490642e63a Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Tue, 11 May 2021 10:52:56 +0100 Subject: [PATCH] truss: Add missing underscore to compat_prefix for FreeBSD32 I accidentally dropped this in the final version of D27625, so it didn't actually work as intended. I found this while testing the MFC to stable/13. MFC after: immediately Fixes: 7daca4e2043f ("truss: improved support for decoding compat32 arguments") --- usr.bin/truss/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/truss/setup.c b/usr.bin/truss/setup.c index 31c20d656b6a..78be0c7f570f 100644 --- a/usr.bin/truss/setup.c +++ b/usr.bin/truss/setup.c @@ -106,7 +106,7 @@ static struct procabi freebsd32 = { .type = "FreeBSD32", .abi = SYSDECODE_ABI_FREEBSD32, .pointer_size = sizeof(uint32_t), - .compat_prefix = "freebsd32", + .compat_prefix = "freebsd32_", .extra_syscalls = STAILQ_HEAD_INITIALIZER(freebsd32.extra_syscalls), .syscalls = { NULL } };