restructure error calculation

This commit is contained in:
Antonio SJ Musumeci 2016-12-21 00:00:00 -05:00
parent 078e4bab49
commit 726b88e039
14 changed files with 31 additions and 28 deletions

View file

@ -46,7 +46,7 @@ _unlink_loop_core(const string *basepath,
rv = fs::unlink(fullpath);
return calc_error(rv,error,errno);
return error::calc(rv,error,errno);
}
static