mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-06 03:41:52 +08:00
Fixed device file name output on ioctl mismatch.
This commit is contained in:
@@ -85,7 +85,7 @@ void MasterDevice::open(Permissions perm)
|
||||
if (module_data.ioctl_version_magic != EC_IOCTL_VERSION_MAGIC) {
|
||||
stringstream err;
|
||||
err << "ioctl() version magic is differing: "
|
||||
<< deviceName << ": " << module_data.ioctl_version_magic
|
||||
<< deviceName.str() << ": " << module_data.ioctl_version_magic
|
||||
<< ", ethercat tool: " << EC_IOCTL_VERSION_MAGIC;
|
||||
throw MasterDeviceException(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user