serial: avoid Cyrillic conversion specifiers

This commit is contained in:
Bert Vermeulen 2012-11-11 03:27:51 +01:00
parent fe1c50fba6
commit 5df7b20156
1 changed files with 2 additions and 2 deletions

View File

@ -350,14 +350,14 @@ SR_PRIV int serial_set_params(int fd, int baudrate, int bits, int parity,
sr_dbg("FD %d: Configuring output baudrate to %d (%d).",
fd, baudrate, baud);
if (cfsetospeed(&term, baud) < 0) {
sr_err("cfsetospeed() error: %ѕ.", strerror(errno));
sr_err("cfsetospeed() error: %s.", strerror(errno));
return SR_ERR;
}
sr_dbg("FD %d: Configuring input baudrate to %d (%d).",
fd, baudrate, baud);
if (cfsetispeed(&term, baud) < 0) {
sr_err("cfsetispeed() error: %ѕ.", strerror(errno));
sr_err("cfsetispeed() error: %s.", strerror(errno));
return SR_ERR;
}