Sync OpenBSD patchset 270:

Tag a few missed printf-like functions and fix a missing "%s".
This commit is contained in:
Tiago Cunha
2009-08-20 11:35:16 +00:00
parent 7ca3d7ac8e
commit 52b02850ca
3 changed files with 13 additions and 13 deletions

12
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.422 2009-08-20 11:22:48 tcunha Exp $ */
/* $Id: tmux.h,v 1.423 2009-08-20 11:35:16 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -989,9 +989,9 @@ struct cmd_ctx {
struct msg_command_data *msgdata;
void (*print)(struct cmd_ctx *, const char *, ...);
void (*info)(struct cmd_ctx *, const char *, ...);
void (*error)(struct cmd_ctx *, const char *, ...);
void printflike2 (*print)(struct cmd_ctx *, const char *, ...);
void printflike2 (*info)(struct cmd_ctx *, const char *, ...);
void printflike2 (*error)(struct cmd_ctx *, const char *, ...);
};
struct cmd {
@ -1720,8 +1720,8 @@ void printflike1 log_warnx(const char *, ...);
void printflike1 log_info(const char *, ...);
void printflike1 log_debug(const char *, ...);
void printflike1 log_debug2(const char *, ...);
__dead void log_fatal(const char *, ...);
__dead void log_fatalx(const char *, ...);
__dead void printflike1 log_fatal(const char *, ...);
__dead void printflike1 log_fatalx(const char *, ...);
/* xmalloc.c */
char *xstrdup(const char *);