Skip to content

Commit

Permalink
Improve file type output.
Browse files Browse the repository at this point in the history
  • Loading branch information
DDoSolitary committed Feb 1, 2019
1 parent 43ae1a1 commit 5d4b44d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LxRunOffline/fs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void archive_reader::run(fs_writer &writer) {
}
auto type = archive_entry_filetype(pe);
if (type != AE_IFREG && type != AE_IFDIR && type != AE_IFLNK) {
log_warning((boost::wformat(L"Ignoring an unsupported file \"%1%\" of type %2%.") % p % type).str());
log_warning((boost::wformat(L"Ignoring an unsupported file \"%1%\" of type %2$07o.") % p % type).str());
continue;
}
auto pst = archive_entry_stat(pe);
Expand Down Expand Up @@ -561,7 +561,7 @@ void wsl_reader::run(fs_writer &writer) {
}
writer.write_file_data(buf, rc);
} while (rc);
} else log_warning((boost::wformat(L"Ignoring an unsupported file \"%1%\" of type %2%.") % path % type).str());
} else log_warning((boost::wformat(L"Ignoring an unsupported file \"%1%\" of type %2$07o.") % path % type).str());
}
});
}
Expand Down

0 comments on commit 5d4b44d

Please sign in to comment.