Further sanity check fixes. v2.15.66
authorCarl Hetherington <cth@carlh.net>
Tue, 28 Apr 2020 12:17:30 +0000 (14:17 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 28 Apr 2020 12:17:30 +0000 (14:17 +0200)
src/tools/dcpomatic_disk_writer.cc

index 3fabe3e..b825546 100644 (file)
@@ -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();
                        }