#2816: Trigger: Incorrect format statement
Reporter:Erik Schnetter
Status:new
Milestone:
Version:
Type:bug
Priority:major
Component:EinsteinToolkit thorn

I see this compiler warning:

/__w/CarpetX/workspace/Cactus/arrangements/CactusUtils/Trigger/src/trigger.c:558:75: warning: more '%' conversions than data arguments [-Wformat-insufficient-args]
  558 |           CCTK_VERROR("%s parsing variable with the name '%s' in trigger %d: %d",
      |                                                                          ~^

‌

This points to a real error, potentially leading to a segfault when this statement is executed.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2816/trigger-incorrect-format-statement