git: 0f426dedccf8 - stable/13 - ubsan: Fix a typo in an error message

Gordon Bergling gbe at FreeBSD.org
Sat Oct 2 08:21:21 UTC 2021


The branch stable/13 has been updated by gbe (doc committer):

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

commit 0f426dedccf8eb2b039074a55dd3cfc99e7b0338
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-09-25 09:47:24 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-10-02 08:21:01 +0000

    ubsan: Fix a typo in an error message
    
    - s/asumption/assumption/
    
    Obtained from:  NetBSD
    
    (cherry picked from commit 2aad906266d67eea6ad11d8e0c6fe9263077ee99)
---
 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-all mailing list