diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-28 14:05:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-28 14:05:20 +0200 |
| commit | 084b655e3c5ececc7bdf2da5bd854b36acb2be4c (patch) | |
| tree | 0473b0a36eb6603a1fb2ca04974ff349ff1fca0d | |
| parent | 001ba1644fc6aa54f91fcaaa62ae7e5de2313bc1 (diff) | |
Fix macOS sanity check.
| -rw-r--r-- | src/tools/dcpomatic_disk_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_disk_writer.cc b/src/tools/dcpomatic_disk_writer.cc index e63a7a7a9..3fabe3e28 100644 --- a/src/tools/dcpomatic_disk_writer.cc +++ b/src/tools/dcpomatic_disk_writer.cc @@ -439,7 +439,7 @@ try /* Do some basic sanity checks; this is a bit belt-and-braces but it can't hurt... */ #ifdef DCPOMATIC_OSX - if (!starts_with(*device, "/dev/disk")) { + if (!starts_with(*device, "/dev/rdisk")) { LOG_DISK ("Will not write to %1", *device); nanomsg->send(DISK_WRITER_ERROR "\nRefusing to write to this drive\n1\n", LONG_TIMEOUT); return true; |
