git: 3cbad8287aa0 - main - truss: Add missing underscore to compat_prefix for FreeBSD32
Alex Richardson
arichardson at FreeBSD.org
Tue May 11 09:53:40 UTC 2021
The branch main has been updated by arichardson:
URL: https://cgit.FreeBSD.org/src/commit/?id=3cbad8287aa0ed72e07df1130ce2ae490642e63a
commit 3cbad8287aa0ed72e07df1130ce2ae490642e63a
Author: Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-05-11 09:52:56 +0000
Commit: Alex Richardson <arichardson at 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 }
};
More information about the dev-commits-src-main
mailing list