Fix incomplete format string upon errors

This commit is contained in:
Pierre Pronchery 2018-07-25 22:33:00 +02:00
parent b4c75d195f
commit 6d6a722128

View File

@ -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;
}