From 930245d7ffde91464865122a82437209680458c8 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 25 May 2019 06:58:10 +0000 Subject: Make cmd_log_argv take a printf-like format for the prefix. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 8f8bd902..fe4d5b90 100644 --- a/tmux.h +++ b/tmux.h @@ -1987,7 +1987,7 @@ int cmd_find_from_mouse(struct cmd_find_state *, int cmd_find_from_nothing(struct cmd_find_state *, int); /* cmd.c */ -void cmd_log_argv(int, char **, const char *); +void printflike(3, 4) cmd_log_argv(int, char **, const char *, ...); void cmd_prepend_argv(int *, char ***, char *); void cmd_append_argv(int *, char ***, char *); int cmd_pack_argv(int, char **, char *, size_t); -- cgit