Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 19:25:42 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7da3bfc20ca8 - main - amd64: fix up a braino in strlen comment
Message-ID:  <202102081925.118JPgpG080948@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=7da3bfc20ca8aca8177b677cba37c9f52714605c

commit 7da3bfc20ca8aca8177b677cba37c9f52714605c
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-02-08 19:24:26 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-02-08 19:24:26 +0000

    amd64: fix up a braino in strlen comment
---
 sys/amd64/amd64/support.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 994c5f15e245..a059b520c5d5 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -703,7 +703,7 @@ END(fillw)
  *
  * Uses the ((x - 0x01....01) & ~x & 0x80....80) trick.
  *
- * 0x80....80 is replaced with 0 - 0x80....80 so that it can be added
+ * 0x01....01 is replaced with 0x0 - 0x01....01 so that it can be added
  * with leaq.
  *
  * For a description see either:



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