summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-01-26 07:31:28 +0000
committerdelphij <delphij@FreeBSD.org>2009-01-26 07:31:28 +0000
commit26e902404433f160c478b20ca2adbe5761d8433b (patch)
tree796348e6a25650836b7043752d6c51b263950dff /lib/libc/string
parentbd35a423120242bb30c1a09165473b79d1a9143d (diff)
downloadFreeBSD-src-26e902404433f160c478b20ca2adbe5761d8433b.zip
FreeBSD-src-26e902404433f160c478b20ca2adbe5761d8433b.tar.gz
- Fix grammar. [1]
- Use the correct term 'long mode'. [2] - style(9) for return value. [3] Submitted by: Ben Kaduk <minimarmot gmail com> [1], obrien [2], scf [3]
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 b6e94b9..860a988 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);
}
OpenPOWER on IntegriCloud