From 58d0830491d3be2fedec55f42f6f832d32783a73 Mon Sep 17 00:00:00 2001 From: luzhipeng Date: Sat, 7 May 2022 09:17:31 +0800 Subject: [PATCH] apibuild: Fix self.waring method call The parameters of self.warning is inconsistent with its definition, So fix it. Signed-off-by: dinglimin Signed-off-by: luzhipeng Reviewed-by: Martin Kletzander --- scripts/apibuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apibuild.py b/scripts/apibuild.py index 05a169c30d..c98bcf6091 100755 --- a/scripts/apibuild.py +++ b/scripts/apibuild.py @@ -315,7 +315,7 @@ class index: if type in type_map: type_map[type][name] = d else: - self.warning("Unable to register type ", type) + self.warning("Unable to register type %s" % type) if name == debugsym and not quiet: print("New symbol: %s" % (d)) -- 2.27.0