Skip to content
Snippets Groups Projects
Commit dcf15829 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

scene: use vlc_strerror_c()

parent e3788b17
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,7 @@
#endif
#include <limits.h>
#include <errno.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
......@@ -334,7 +335,8 @@ static void SavePicture( filter_t *p_filter, picture_t *p_pic )
i_ret = vlc_rename( psz_temp, psz_filename );
if( i_ret == -1 )
{
msg_Err( p_filter, "could not rename snapshot %s %m", psz_filename );
msg_Err( p_filter, "could not rename snapshot %s: %s",
psz_filename, vlc_strerror_c(errno) );
goto error;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment