mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-06-07 11:24:37 +08:00
restructure error calculation
This commit is contained in:
@ -48,7 +48,7 @@ _truncate_loop_core(const string *basepath,
|
||||
|
||||
rv = fs::truncate(fullpath,size);
|
||||
|
||||
return calc_error(rv,error,errno);
|
||||
return error::calc(rv,error,errno);
|
||||
}
|
||||
|
||||
static
|
||||
|
Reference in New Issue
Block a user