projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util/os_file: extend os_read_file to return the file size
[mesa.git]
/
src
/
intel
/
vulkan
/
anv_device.c
diff --git
a/src/intel/vulkan/anv_device.c
b/src/intel/vulkan/anv_device.c
index cffcecca75c679ff398e32a81b1b7944705604fe..11fb4f6c3fc43743a2820228c5e50fefe323db30 100644
(file)
--- a/
src/intel/vulkan/anv_device.c
+++ b/
src/intel/vulkan/anv_device.c
@@
-308,7
+308,7
@@
anv_physical_device_free_disk_cache(struct anv_physical_device *device)
static uint64_t
get_available_system_memory()
{
- char *meminfo = os_read_file("/proc/meminfo");
+ char *meminfo = os_read_file("/proc/meminfo"
, NULL
);
if (!meminfo)
return 0;