From: Carl Hetherington Date: Tue, 28 Apr 2020 12:17:30 +0000 (+0200) Subject: Further sanity check fixes. X-Git-Tag: v2.15.66 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=60b1ea28addbb5779bdc7221fbfc473440cb7663 Further sanity check fixes. --- diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc index 3fabe3e28..b8255468f 100644 --- a/src/tools/dcpomatic_disk_writer.cc +++ b/src/tools/dcpomatic_disk_writer.cc @@ -463,7 +463,7 @@ try bool on_drive_list = false; bool mounted = false; for (auto const& i: Drive::get()) { - if (i.device() == *device) { + if (i.device_for_write() == *device) { on_drive_list = true; mounted = i.mounted(); }