Module: Mesa
Branch: main
Commit: b2bf20e28fc659df215f94a055497471168e9158
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2bf20e28fc659df215f94a055497471168e9158

Author: Yonggang Luo <[email protected]>
Date:   Wed Mar 30 04:44:55 2022 +0800

util: Fixes typo in function os_get_total_physical_memory

Signed-off-by: Yonggang Luo <[email protected]>
Reviewed-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18001>

---

 src/util/os_misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/os_misc.c b/src/util/os_misc.c
index 31f1c55d6e8..367bd6c2857 100644
--- a/src/util/os_misc.c
+++ b/src/util/os_misc.c
@@ -269,7 +269,7 @@ os_get_total_physical_memory(uint64_t *size)
    *size = status.ullTotalPhys;
    return (ret == TRUE);
 #else
-#error unexpected platform in os_sysinfo.c
+#error unexpected platform in os_misc.c
    return false;
 #endif
 }

Reply via email to