util: Fixes os_get_option_cached with bool options_tbl_exited
authorYonggang Luo <luoyonggang@gmail.com>
Mon, 19 Dec 2022 16:29:10 +0000 (00:29 +0800)
committerMarge Bot <emma+marge@anholt.net>
Tue, 20 Dec 2022 01:49:10 +0000 (01:49 +0000)
commit22bf19c1f5163918eff2de2f3b5287a33962ec87
tree2901842c1709a5c06161ae9181849d2b2755fd00
parentf0fe74ceaa8ab96e8fc124a4eeadbbef211097de
util: Fixes os_get_option_cached with bool options_tbl_exited

Fixes: cdad035cfd9 ("util: Add function debug_get_option_cached os_get_option_cached")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7922

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20386>
src/util/os_misc.c