mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
more typo. yay.
This commit is contained in:
@@ -25,7 +25,7 @@ _get_tsc_frequency :: proc "contextless" () -> u64 {
|
|||||||
|
|
||||||
page_size : uint = 4096
|
page_size : uint = 4096
|
||||||
ret := unix.sys_mmap(nil, page_size, unix.PROT_READ, unix.MAP_SHARED, fd, 0)
|
ret := unix.sys_mmap(nil, page_size, unix.PROT_READ, unix.MAP_SHARED, fd, 0)
|
||||||
if ret < 0 && > -4096 {
|
if ret < 0 && ret > -4096 {
|
||||||
frequency = 1
|
frequency = 1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user