aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-profile.c')
-rw-r--r--sim/common/sim-profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-profile.c b/sim/common/sim-profile.c
index 75bdc70..455e1a2 100644
--- a/sim/common/sim-profile.c
+++ b/sim/common/sim-profile.c
@@ -454,7 +454,7 @@ profile_option_handler (SIM_DESC sd,
/* Profiling output hooks. */
-static void
+static void ATTRIBUTE_PRINTF (3, 0)
profile_vprintf (SIM_DESC sd, sim_cpu *cpu, const char *fmt, va_list ap)
{
FILE *fp = PROFILE_FILE (CPU_PROFILE_DATA (cpu));