Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 10:31:14 GMT
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0d0eb707b43e - stable/13 - truss: Add missing underscore to compat_prefix for FreeBSD32
Message-ID:  <202105111031.14BAVE3B088734@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=0d0eb707b43e2b222434a98265db1fe7c3e3f3a8

commit 0d0eb707b43e2b222434a98265db1fe7c3e3f3a8
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:54:06 +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")
    
    (cherry picked from commit 3cbad8287aa0ed72e07df1130ce2ae490642e63a)
---
 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?202105111031.14BAVE3B088734>