1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

buildtools: Use correct variable in error message

When this error message was copied from CHECK_FUNCS_IN(), the variable
name was not changed. This results in messages like this:

“Mandatory library 'lib' not found for functions '<class 'list'>'”

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-12-14 08:25:38 +13:00 committed by Andrew Bartlett
parent e2146e4a75
commit dfefdcb1e0

View File

@ -625,7 +625,7 @@ int foo()
if not res:
if mandatory:
Logs.error("Mandatory library '%s' not found for functions '%s'" % (lib, list))
Logs.error("Mandatory library '%s' not found for functions '%s'" % (lib, libs))
sys.exit(1)
if empty_decl:
# if it isn't a mandatory library, then remove it from dependency lists