git: 7da3bfc20ca8 - main - amd64: fix up a braino in strlen comment
Mateusz Guzik
mjg at FreeBSD.org
Mon Feb 8 19:25:42 UTC 2021
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=7da3bfc20ca8aca8177b677cba37c9f52714605c
commit 7da3bfc20ca8aca8177b677cba37c9f52714605c
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-02-08 19:24:26 +0000
Commit: Mateusz Guzik <mjg at 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:
More information about the dev-commits-src-all
mailing list