Revision: 2737 http://tmux.svn.sourceforge.net/tmux/?rev=2737&view=rev Author: tcunha Date: 2012-03-18 02:00:39 +0000 (Sun, 18 Mar 2012) Log Message: ----------- Sync OpenBSD patchset 1058:
Fix warnings. Doh. Modified Paths: -------------- trunk/log.c Modified: trunk/log.c =================================================================== --- trunk/log.c 2012-03-18 01:59:34 UTC (rev 2736) +++ trunk/log.c 2012-03-18 02:00:39 UTC (rev 2737) @@ -39,6 +39,7 @@ /* Debug level. */ int log_level; +void log_event_cb(int, const char *); void log_vwrite(int, const char *, va_list); __dead void log_vfatal(const char *, va_list); @@ -46,7 +47,7 @@ void log_event_cb(unused int severity, const char *msg) { - log_warnx(msg); + log_warnx("%s", msg); } /* Open logging to tty. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs