diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-30 01:16:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-30 01:16:20 +0200 |
| commit | 56caa542a558a3e261a3da4773c9ed3e66e262ab (patch) | |
| tree | 9ac47e0b51ef10c0fb6fed7ceffa9cfe5d26b22a /src/lib/copy_to_drive_job.cc | |
| parent | 652a6467fdc4e562fe9166d491f4ca9848e37abb (diff) | |
Revert mac rdisk vs disk stuff as I'm not convinced it makes much difference.
Diffstat (limited to 'src/lib/copy_to_drive_job.cc')
| -rw-r--r-- | src/lib/copy_to_drive_job.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/copy_to_drive_job.cc b/src/lib/copy_to_drive_job.cc index 173d286f5..7760c072f 100644 --- a/src/lib/copy_to_drive_job.cc +++ b/src/lib/copy_to_drive_job.cc @@ -65,8 +65,8 @@ CopyToDriveJob::json_name () const void CopyToDriveJob::run () { - LOG_DISK("Sending write request to disk writer for %1 %2", _dcp.string(), _drive.device_for_write()); - if (!_nanomsg.send(String::compose(DISK_WRITER_WRITE "\n%1\n%2\n", _dcp.string(), _drive.device_for_write()), 2000)) { + LOG_DISK("Sending write request to disk writer for %1 %2", _dcp.string(), _drive.device()); + if (!_nanomsg.send(String::compose(DISK_WRITER_WRITE "\n%1\n%2\n", _dcp.string(), _drive.device()), 2000)) { throw CommunicationFailedError (); } |
