aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/openpixelcontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/openpixelcontrol.c')
-rw-r--r--backends/openpixelcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/openpixelcontrol.c b/backends/openpixelcontrol.c
index 2a5e01f..1f8d46a 100644
--- a/backends/openpixelcontrol.c
+++ b/backends/openpixelcontrol.c
@@ -534,7 +534,7 @@ static int openpixel_client_handle(instance* inst, int fd){
ssize_t bytes = recv(fd, buffer, sizeof(buffer), 0);
if(bytes <= 0){
if(bytes < 0){
- LOGPF("Failed to receive from client: %s", strerror(errno));
+ LOGPF("Failed to receive from client: %s", mmbackend_socket_strerror(errno));
}
//close the connection