Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2021 09:48:45 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2aad906266d6 - main - ubsan: Fix a typo in an error message
Message-ID:  <202109250948.18P9mj99001653@gitrepo.freebsd.org>

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



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