mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-15 15:26:19 -04:00
Portability
This commit is contained in:
parent
5a94719f2d
commit
c8b4945818
@ -107,7 +107,7 @@ int dwarfsbench_main(int argc, char** argv) {
|
||||
|
||||
fs.walk([&](auto entry) {
|
||||
auto inode_data = entry.inode();
|
||||
if (S_ISREG(inode_data.mode())) {
|
||||
if (inode_data.is_regular_file()) {
|
||||
wg.add_job([&fs, inode_data] {
|
||||
try {
|
||||
file_stat stbuf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user