diff options
author | cbdev <cb@cbcdn.com> | 2020-04-20 20:38:58 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-04-20 20:38:58 +0200 |
commit | 8773fca1f7d2ffed68b6af4967b537d989a1e5b5 (patch) | |
tree | 079cce18262307c244bddd554be2467822a01f64 /backends/openpixelcontrol.c | |
parent | f053dc36fd515e8d7952e1bdefdc0050226a27c4 (diff) | |
download | midimonster-8773fca1f7d2ffed68b6af4967b537d989a1e5b5.tar.gz midimonster-8773fca1f7d2ffed68b6af4967b537d989a1e5b5.tar.bz2 midimonster-8773fca1f7d2ffed68b6af4967b537d989a1e5b5.zip |
Print platform-specific error messages for socket calls
Diffstat (limited to 'backends/openpixelcontrol.c')
-rw-r--r-- | backends/openpixelcontrol.c | 2 |
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 |