Commit 22cb2d44 authored by Petri Hintukainen's avatar Petri Hintukainen

Improve error reporting when cache directory creation fails

parent 98c66a5b
......@@ -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;
}
......
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