]> git.saurik.com Git - apple/xnu.git/blobdiff - libsyscall/wrappers/mach_boottime.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / libsyscall / wrappers / mach_boottime.c
index 5028f3a65b459570443d0331490f1adc78ab552d..4a262e5e3bb05006c7981dac1bbc7d8e7786f2a1 100644 (file)
@@ -25,5 +25,5 @@
 uint64_t
 mach_boottime_usec(void)
 {
-       return *(uint64_t*)_COMM_PAGE_BOOTTIME_USEC;
+       return COMM_PAGE_READ(uint64_t, BOOTTIME_USEC);
 }