aboutsummaryrefslogtreecommitdiffstats
path: root/asm/listing.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm/listing.h')
-rw-r--r--asm/listing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/listing.h b/asm/listing.h
index df88e8a8..f3ddb0e0 100644
--- a/asm/listing.h
+++ b/asm/listing.h
@@ -96,7 +96,7 @@ struct lfmt {
/*
* Called on a warning or error, with the error message.
*/
- void (*error)(int severity, const char *pfx, const char *msg);
+ void printf_func(2, 3) (*error)(int severity, const char *fmt, ...);
/*
* Update the current offset. Used to give the listing generator