summaryrefslogtreecommitdiff
path: root/src/crcspeed.c
diff options
context:
space:
mode:
authorsundb <sundbcn@gmail.com>2020-11-08 14:32:38 +0800
committerGitHub <noreply@github.com>2020-11-08 08:32:38 +0200
commitcd1c600548d184cb9019c0491c8fb5a5cf902706 (patch)
tree39e31cd336ff79cc7ac3019da5390532ad7113e1 /src/crcspeed.c
parent254367788a32b5178c25257e5a8cbd77c4d4a31f (diff)
downloadredis-cd1c600548d184cb9019c0491c8fb5a5cf902706.tar.gz
Typo fix: entires -> entries (#8031)
Diffstat (limited to 'src/crcspeed.c')
-rw-r--r--src/crcspeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crcspeed.c b/src/crcspeed.c
index d2d97a8c7..d4955bfc9 100644
--- a/src/crcspeed.c
+++ b/src/crcspeed.c
@@ -84,7 +84,7 @@ static inline uint64_t rev8(uint64_t a) {
/* This function is called once to initialize the CRC table for use on a
big-endian architecture. */
void crcspeed64big_init(crcfn64 fn, uint64_t big_table[8][256]) {
- /* Create the little endian table then reverse all the entires. */
+ /* Create the little endian table then reverse all the entries. */
crcspeed64little_init(fn, big_table);
for (int k = 0; k < 8; k++) {
for (int n = 0; n < 256; n++) {
@@ -94,7 +94,7 @@ void crcspeed64big_init(crcfn64 fn, uint64_t big_table[8][256]) {
}
void crcspeed16big_init(crcfn16 fn, uint16_t big_table[8][256]) {
- /* Create the little endian table then reverse all the entires. */
+ /* Create the little endian table then reverse all the entries. */
crcspeed16little_init(fn, big_table);
for (int k = 0; k < 8; k++) {
for (int n = 0; n < 256; n++) {