]> xenbits.xensource.com Git - libvirt.git/commitdiff
scripts/mock-noinline: Use full name of the required annotation in error message
authorPeter Krempa <pkrempa@redhat.com>
Wed, 9 Feb 2022 15:12:58 +0000 (16:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 14 Feb 2022 12:13:59 +0000 (13:13 +0100)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
scripts/mock-noinline.py

index 69cf0b4b99d23c7258e029f69ca4b221bfaadcc4..712550cb7a4c457044d4342f954e50ac7c319b11 100644 (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: