Skip to content
Snippets Groups Projects
Commit 22cb2d44 authored by Petri Hintukainen's avatar Petri Hintukainen
Browse files

Improve error reporting when cache directory creation fails

parent 98c66a5b
No related branches found
No related tags found
No related merge requests found
......@@ -305,7 +305,7 @@ static int init_cache_dir( dvdcss_t dvdcss )
i_ret = mkdir( dvdcss->psz_cachefile, 0755 );
if( i_ret < 0 && errno != EEXIST )
{
print_error( dvdcss, "failed creating cache directory" );
print_error( dvdcss, "failed creating cache directory '%s'", dvdcss->psz_cachefile );
dvdcss->psz_cachefile[0] = '\0';
return -1;
}
......
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