summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorartikell <739609084@qq.com>2023-01-22 22:32:20 +0800
committerGitHub <noreply@github.com>2023-01-22 16:32:20 +0200
commitad72cb77975a54bc1c4b1370835c7803b1ce9439 (patch)
treeb108b5005a512751674f334a2677d29417b5d40f /src
parentafd9e3ed3ff9ead46a233d11b45780b7585b00a3 (diff)
downloadredis-ad72cb77975a54bc1c4b1370835c7803b1ce9439.tar.gz
fix typos in syscheck (#11710)
replace "clokcsource" with "clocksource"
Diffstat (limited to 'src')
-rw-r--r--src/syscheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscheck.c b/src/syscheck.c
index 82dbf0f0c..0ea3a2510 100644
--- a/src/syscheck.c
+++ b/src/syscheck.c
@@ -62,7 +62,7 @@ static sds read_sysfs_line(char *path) {
return res;
}
-/* Verify our clokcsource implementation doesn't go through a system call (uses vdso).
+/* Verify our clocksource implementation doesn't go through a system call (uses vdso).
* Going through a system call to check the time degrades Redis performance. */
static int checkClocksource(sds *error_msg) {
unsigned long test_time_us, system_hz;