From 60b1ea28addbb5779bdc7221fbfc473440cb7663 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 28 Apr 2020 14:17:30 +0200 Subject: Further sanity check fixes. --- src/tools/dcpomatic_disk_writer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit v1.2.3