--- a/tool/MasterDevice.cpp Mon Dec 29 14:10:27 2008 +0000
+++ b/tool/MasterDevice.cpp Mon Dec 29 15:19:16 2008 +0000
@@ -147,7 +147,7 @@
if (ioctl(fd, EC_IOCTL_CONFIG_SDO, data) < 0) {
stringstream err;
- err << "Failed to get slave config Sdo: " << strerror(errno);
+ err << "Failed to get slave config SDO: " << strerror(errno);
throw MasterDeviceException(err);
}
}
@@ -293,7 +293,7 @@
if (ioctl(fd, EC_IOCTL_SLAVE_SDO, sdo)) {
stringstream err;
- err << "Failed to get Sdo: " << strerror(errno);
+ err << "Failed to get SDO: " << strerror(errno);
throw MasterDeviceException(err);
}
}
@@ -313,7 +313,7 @@
if (ioctl(fd, EC_IOCTL_SLAVE_SDO_ENTRY, entry)) {
stringstream err;
- err << "Failed to get Sdo entry: " << strerror(errno);
+ err << "Failed to get SDO entry: " << strerror(errno);
throw MasterDeviceException(err);
}
}
@@ -364,7 +364,7 @@
if (errno == EIO && data->abort_code) {
throw MasterDeviceSdoAbortException(data->abort_code);
} else {
- err << "Failed to download Sdo: " << strerror(errno);
+ err << "Failed to download SDO: " << strerror(errno);
throw MasterDeviceException(err);
}
}
@@ -379,7 +379,7 @@
if (errno == EIO && data->abort_code) {
throw MasterDeviceSdoAbortException(data->abort_code);
} else {
- err << "Failed to upload Sdo: " << strerror(errno);
+ err << "Failed to upload SDO: " << strerror(errno);
throw MasterDeviceException(err);
}
}