diff options
Diffstat (limited to 'src/lib/file_group.cc')
| -rw-r--r-- | src/lib/file_group.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 469d07702..27137196e 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -86,7 +86,7 @@ FileGroup::ensure_open_path (size_t p) const auto file = dcp::File(_paths[_current_path], "rb"); if (!file) { - throw OpenFileError(_paths[_current_path], errno, OpenFileError::READ); + throw OpenFileError(_paths[_current_path], file.open_error(), OpenFileError::READ); } _current_path = p; |
