From 453b91903bb4d6ab08487055254ae33a2dddaf81 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 14 Mar 2009 11:20:55 +0000 Subject: Enable printf attribute checking on GNU systems. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@272 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/log.c') diff --git a/libssh/log.c b/libssh/log.c index fbea05d8..e4d6893e 100644 --- a/libssh/log.c +++ b/libssh/log.c @@ -33,7 +33,7 @@ * \param verbosity verbosity of the event * \param format format string of the log entry */ -void ssh_log(SSH_SESSION *session, int verbosity, char *format, ...){ +void ssh_log(SSH_SESSION *session, int verbosity, const char *format, ...) { char buffer[1024]; char buf2[256]; int min; -- cgit v1.2.3