meson: Fix lmsensors warning message.
authorVinson Lee <vlee@freedesktop.org>
Thu, 20 Aug 2020 01:56:19 +0000 (18:56 -0700)
committerVinson Lee <vlee@freedesktop.org>
Tue, 25 Aug 2020 00:37:26 +0000 (17:37 -0700)
Fixes: 138c003d2273 ("meson: deprecated 'true' and 'false' in combo options for 'enabled' and 'disabled'")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6397>

meson.build

index dba847b9f8593546d84861fb1f67a07f0655e512..2c3397d673ebbef6359b76a14ffc436817e1a7f5 100644 (file)
@@ -1784,10 +1784,10 @@ endif
 _sensors = get_option('lmsensors')
 if _sensors == 'true'
   _sensors = 'enabled'
-  warning('sensors option "true" deprecated, please use "enabled" instead.')
+  warning('lmsensors option "true" deprecated, please use "enabled" instead.')
 elif _sensors == 'false'
   _sensors = 'disabled'
-  warning('sensors option "false" deprecated, please use "disabled" instead.')
+  warning('lmsensors option "false" deprecated, please use "disabled" instead.')
 endif
 if _sensors != 'disabled'
   dep_lmsensors = cc.find_library('sensors', required : _sensors == 'enabled')