From 0a1a88d63caf3a0e8b4440686e73e1f0f690e03c Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 20 Oct 2014 23:57:13 +0000 Subject: Better format for printf format attributes. --- cmd-queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd-queue.c') diff --git a/cmd-queue.c b/cmd-queue.c index 77460b2f..6495d3fd 100644 --- a/cmd-queue.c +++ b/cmd-queue.c @@ -57,7 +57,7 @@ cmdq_free(struct cmd_q *cmdq) } /* Show message from command. */ -void printflike2 +void cmdq_print(struct cmd_q *cmdq, const char *fmt, ...) { struct client *c = cmdq->client; @@ -87,7 +87,7 @@ cmdq_print(struct cmd_q *cmdq, const char *fmt, ...) } /* Show error from command. */ -void printflike2 +void cmdq_error(struct cmd_q *cmdq, const char *fmt, ...) { struct client *c = cmdq->client; -- cgit