apibuild: Fix self.waring method call

The parameters of self.warning is inconsistent with its definition, So
fix it.

Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
luzhipeng authored and Martin Kletzander committed 2022-05-09 14:44:36 +02:00
1 parent 1512119afd
commit 3e009bbdb8
1 file changed
+1 -1
+1 -1
View File
@@ -328,7 +328,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))