mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Fix typo from previous commit (tsvsec --> tv_sec).
This commit is contained in:
parent
148531ef1e
commit
97ea6d475a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18472
@ -61,7 +61,7 @@ usleep(useconds)
|
||||
|
||||
if (useconds) {
|
||||
time_to_sleep.tv_nsec = (useconds % 1000000) * 1000;
|
||||
time_to_sleep.tsvsec = useconds / 1000000;
|
||||
time_to_sleep.tv_sec = useconds / 1000000;
|
||||
nanosleep(&time_to_sleep,NULL);
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user