summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-01-26 07:31:28 +0000
committerXin LI <delphij@FreeBSD.org>2009-01-26 07:31:28 +0000
commit481101b823ef51e0f8463ee2ca38ae58b8c50ab8 (patch)
tree796348e6a25650836b7043752d6c51b263950dff /lib/libc/string
parent7376ba13298b122b3064f900dcd38a8f78214441 (diff)
Notes
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strlen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strlen.c b/lib/libc/string/strlen.c
index b6e94b9d0e87..860a9888a398 100644
--- a/lib/libc/string/strlen.c
+++ b/lib/libc/string/strlen.c
@@ -50,8 +50,8 @@ __FBSDID("$FreeBSD$");
*
* ((x - 0x01....01) & 0x80....80)
*
- * This is more than 5.2 times as compared to the raw implementation
- * on Intel T7300 under EM64T mode for strings longer than word length.
+ * This is more than 5.2 times as fast as the raw implementation on
+ * Intel T7300 under long mode for strings longer than word length.
*/
/* Magic numbers for the algorithm */
@@ -105,6 +105,6 @@ strlen(const char *str)
}
/* NOTREACHED */
- return 0;
+ return (0);
}