]> git.sesse.net Git - vlc/blobdiff - src/network/httpd.c
Fix the most common strerror() usages (threads, network, input) - refs #1297
[vlc] / src / network / httpd.c
index 4486ef40a924a6e94b430dd21ad9b40b6193f270..24bc09815a42ba4dc1a06d4bcea69d826234b980 100644 (file)
@@ -2362,7 +2362,7 @@ static void httpd_HostThread( httpd_host_t *host )
                 if (errno != EINTR)
                 {
                     /* This is most likely a bug */
-                    msg_Err( host, "polling error: %s", strerror (errno));
+                    msg_Err( host, "polling error: %m" );
                     msleep( 1000 );
                 }
             case 0: