Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2021 08:21:21 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0f426dedccf8 - stable/13 - ubsan: Fix a typo in an error message
Message-ID:  <202110020821.1928LL1p040409@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
AuthorDate: 2021-09-25 09:47:24 +0000
Commit:     Gordon Bergling <gbe@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 {



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