From 6d6a722128924f00392684eb272fc369893940eb Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 25 Jul 2018 22:33:00 +0200 Subject: [PATCH] Fix incomplete format string upon errors --- client/spa_comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/spa_comm.c b/client/spa_comm.c index 1afd914c..0458a4a7 100644 --- a/client/spa_comm.c +++ b/client/spa_comm.c @@ -170,7 +170,7 @@ send_spa_packet_tcp_or_udp(const char *spa_data, const int sd_len, if (! sock_success) { log_msg(LOG_VERBOSITY_ERROR, - "send_spa_packet_tcp_or_udp: Could not create socket: ", + "send_spa_packet_tcp_or_udp: Could not create socket: %s", strerror(errno)); return -1; }