Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ad72cb77
Unverified
Commit
ad72cb77
authored
Jan 22, 2023
by
artikell
Committed by
GitHub
Jan 22, 2023
Browse files
fix typos in syscheck (#11710)
replace "clokcsource" with "clocksource"
parent
afd9e3ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/syscheck.c
View file @
ad72cb77
...
@@ -62,7 +62,7 @@ static sds read_sysfs_line(char *path) {
...
@@ -62,7 +62,7 @@ static sds read_sysfs_line(char *path) {
return
res
;
return
res
;
}
}
/* Verify our clo
k
csource implementation doesn't go through a system call (uses vdso).
/* Verify our cloc
k
source implementation doesn't go through a system call (uses vdso).
* Going through a system call to check the time degrades Redis performance. */
* Going through a system call to check the time degrades Redis performance. */
static
int
checkClocksource
(
sds
*
error_msg
)
{
static
int
checkClocksource
(
sds
*
error_msg
)
{
unsigned
long
test_time_us
,
system_hz
;
unsigned
long
test_time_us
,
system_hz
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment