Trigger: Incorrect format statement

Issue #2816 resolved
Erik Schnetter created an issue

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.

Comments (4)

  1. Log in to comment