scripts/mock-noinline: Use full name of the required annotation in error message

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2022-02-09 16:12:58 +01:00
parent 4d8cb61e4d
commit 0f0d6af1b2

View File

@ -73,7 +73,7 @@ warned = False
for func in mocked.keys():
if func not in noninlined:
warned = True
print("%s is mocked at %s but missing noinline annotation" %
print("%s is mocked at %s but missing 'G_GNUC_NO_INLINE' annotation" %
(func, mocked[func]), file=sys.stderr)
if warned: