From 23448621715c712683025345a0fa2fb808d016cc Mon Sep 17 00:00:00 2001 From: Anna Rift Date: Mon, 16 Dec 2024 12:02:46 -0800 Subject: [PATCH] Fix __attribute__ for new formals Signed-off-by: Anna Rift --- runtime/include/chpllaunch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/include/chpllaunch.h b/runtime/include/chpllaunch.h index d33d68d1f3be..839847b35f4d 100644 --- a/runtime/include/chpllaunch.h +++ b/runtime/include/chpllaunch.h @@ -47,7 +47,7 @@ void chpl_append_to_largv(int* largc, const char*** largv, int* largv_len, const char* arg); void chpl_append_to_cmd(char** cmdBufPtr, int* charsWritten, const char* format, ...) - __attribute__((format(printf, 2, 3))); + __attribute__((format(printf, 3, 4))); int chpl_run_utility1K(const char *command, char *const argv[], char *outbuf, int outbuflen); int chpl_run_cmdstr(const char *commandStr, char *outbuf, int outbuflen);