summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fuse/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuse/connection.c b/src/fuse/connection.c
index 3941676..ff19ffe 100644
--- a/src/fuse/connection.c
+++ b/src/fuse/connection.c
@@ -642,7 +642,7 @@ static void switchConnection(int sockFd, alt_server_t *srv)
connection.startupTime = nowMilli();
pthread_create( &thread, NULL, &connection_receiveThreadMain, (void*)(size_t)sockFd );
sock_printable( (struct sockaddr*)&addr, sizeof(addr), message + len, sizeof(message) - len );
- logadd( LOG_INFO, message );
+ logadd( LOG_INFO, "%s", message );
// resend queue
if ( queue != NULL ) {
pthread_mutex_lock( &connection.sendMutex );