From: Peter Krempa Date: Wed, 9 Feb 2022 15:12:58 +0000 (+0100) Subject: scripts/mock-noinline: Use full name of the required annotation in error message X-Git-Tag: v8.1.0-rc1~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f0d6af1b2fd4665c5b44f12436de6889853200d;p=thirdparty%2Flibvirt.git scripts/mock-noinline: Use full name of the required annotation in error message Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/scripts/mock-noinline.py b/scripts/mock-noinline.py index 69cf0b4b99..712550cb7a 100644 --- a/scripts/mock-noinline.py +++ b/scripts/mock-noinline.py @@ -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: