]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/alsa.c
Replace strerror() with %m (or Linux DVB: strerror_r) - refs #1297
[vlc] / modules / audio_output / alsa.c
index 4db091ba079459b3ba5c6dd63d1fc5f838a27119..17c2056d8baeaf9856e2edfaf1a593ee9d3e53be 100644 (file)
@@ -682,7 +682,7 @@ static int Open( vlc_object_t *p_this )
     if( vlc_thread_create( p_aout, "aout", ALSAThread,
                            VLC_THREAD_PRIORITY_OUTPUT, VLC_FALSE ) )
     {
-        msg_Err( p_aout, "cannot create ALSA thread (%s)", strerror(errno) );
+        msg_Err( p_aout, "cannot create ALSA thread (%m)" );
         goto error;
     }