summaryrefslogtreecommitdiffstats
path: root/src/mesa/vf/vf_generic.c
diff options
context:
space:
mode:
authorJonathan Gray <[email protected]>2015-02-22 19:19:25 +1100
committerEmil Velikov <[email protected]>2015-02-27 23:29:29 +0000
commit54cc3cdff4b514cc74dea34bf0824726631e5d64 (patch)
tree6e0f383b8903f1d868b4861ef2d001d6c814cf7f /src/mesa/vf/vf_generic.c
parentc0f425bb813729ac9b4589c8a717ed27ba5998b9 (diff)
auxilary/os: correct sysctl use in os_get_total_physical_memory()
The length argument passed to sysctl was the size of the pointer not the type. The result of this is sysctl calls would fail on 32 bit BSD/Mac OS X. Additionally the wrong pointer was passed as an argument to store the result of the sysctl call. Cc: "10.4, 10.5" <[email protected]> Signed-off-by: Jonathan Gray <[email protected]> Reviewed-by: Emil Velikov <[email protected]> (cherry picked from commit 7983a3d2e06b0bc16c1a16bddccc7f14fe1f132c)
Diffstat (limited to 'src/mesa/vf/vf_generic.c')
0 files changed, 0 insertions, 0 deletions