summaryrefslogtreecommitdiff
path: root/accel-pppd/cli/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/cli/cli.h')
-rw-r--r--accel-pppd/cli/cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/cli/cli.h b/accel-pppd/cli/cli.h
index 3e31c5d..1fbb985 100644
--- a/accel-pppd/cli/cli.h
+++ b/accel-pppd/cli/cli.h
@@ -42,7 +42,7 @@ void cli_register_regexp_cmd(struct cli_regexp_cmd_t *cmd);
void cli_show_ses_register(const char *name, const char *desc, void (*print)(const struct ap_session *ses, char *buf));
int cli_send(void *client, const char *data);
-int cli_sendv(void *client, const char *fmt, ...);
+int cli_sendv(void *client, const char *fmt, ...) __attribute__((format(gnu_printf, 2, 3)));
#endif