if( -1 == i_pollres )
{ /* XXX: What should we do when poll() fails ? */
- msg_Err( p_intf, "poll() failed: %m" );
+ msg_Err( p_intf, "poll() failed: %s", vlc_strerror_c(errno) );
vlc_restorecancel( canc );
continue;
}
intf_thread_t *p_intf = (intf_thread_t*) p_data;
if( !write( p_intf->p_sys->p_pipe_fds[PIPE_IN], "\0", 1 ) )
- msg_Err( p_intf, "Could not wake up the main loop: %m" );
+ msg_Err( p_intf, "Could not wake up the main loop: %s",
+ vlc_strerror_c(errno) );
}
/* Flls a callback_info_t data structure in response