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 3fabe3e28f8a90bb0b216351d490e8ace4650416..b8255468f78ab827a86d965e7ab358dfd4f63f40 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();
                        }