Fixed device file name output on ioctl mismatch.
This commit is contained in:
parent
541a6e145c
commit
0059ab2e38
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue