aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-02-08 19:24:26 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-02-08 19:24:26 +0000
commit7da3bfc20ca8aca8177b677cba37c9f52714605c (patch)
tree975ef95ccda502fcb14c44832df7907e69771522 /sys
parentd242f782c24980627716613ff8fb5e6078520a5b (diff)
downloadsrc-7da3bfc20ca8aca8177b677cba37c9f52714605c.tar.gz
src-7da3bfc20ca8aca8177b677cba37c9f52714605c.zip
amd64: fix up a braino in strlen comment
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/support.S2
1 files changed, 1 insertions, 1 deletions
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: