Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 09:53:39 GMT
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3cbad8287aa0 - main - truss: Add missing underscore to compat_prefix for FreeBSD32
Message-ID:  <202105110953.14B9rdFw035166@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arichardson:

URL: https://cgit.FreeBSD.org/src/commit/?id=3cbad8287aa0ed72e07df1130ce2ae490642e63a

commit 3cbad8287aa0ed72e07df1130ce2ae490642e63a
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-05-11 09:52:56 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-05-11 09:53:02 +0000

    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 }
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105110953.14B9rdFw035166>