Commit 2ec2965d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

logger: use vlc_strerror_c()

parent eff30cdf
......@@ -37,6 +37,7 @@
#include <stdarg.h>
#include <assert.h>
#include <errno.h>
#ifdef __ANDROID__
# include <android/log.h>
......@@ -303,7 +304,8 @@ static int Open( vlc_object_t *p_this )
p_sys->p_file = vlc_fopen( filename, "at" );
if( p_sys->p_file == NULL )
{
msg_Err( p_intf, "error opening logfile `%s': %m", filename );
msg_Err( p_intf, "error opening logfile `%s': %s", filename,
vlc_strerror_c(errno) );
free( psz_file );
free( p_sys );
return VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment