git: 2aad906266d6 - main - ubsan: Fix a typo in an error message
Gordon Bergling
gbe at FreeBSD.org
Sat Sep 25 09:48:45 UTC 2021
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=2aad906266d67eea6ad11d8e0c6fe9263077ee99
commit 2aad906266d67eea6ad11d8e0c6fe9263077ee99
Author: Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-09-25 09:47:24 +0000
Commit: Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-09-25 09:47:24 +0000
ubsan: Fix a typo in an error message
- s/asumption/assumption/
Obtained from: NetBSD
MFC after: 1 week
---
sys/kern/kern_ubsan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/kern_ubsan.c b/sys/kern/kern_ubsan.c
index 93d39103929c..e1482f004d47 100644
--- a/sys/kern/kern_ubsan.c
+++ b/sys/kern/kern_ubsan.c
@@ -717,7 +717,7 @@ HandleAlignmentAssumption(bool isFatal, struct CAlignmentAssumptionData *pData,
if (pData->mAssumptionLocation.mFilename != NULL) {
DeserializeLocation(szAssumptionLocation, LOCATION_MAXLEN,
&pData->mAssumptionLocation);
- Report(isFatal, "UBSan: Undefined Behavior in %s, alignment assumption of %#lx for pointer %#lx (offset %#lx), asumption made in %s\n",
+ Report(isFatal, "UBSan: Undefined Behavior in %s, alignment assumption of %#lx for pointer %#lx (offset %#lx), assumption made in %s\n",
szLocation, ulAlignment, ulRealPointer, ulOffset,
szAssumptionLocation);
} else {
More information about the dev-commits-src-main
mailing list