mirror of https://gerrit.osmocom.org/libosmocore
core/serial: Fix typo
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
9631184399
commit
e40549a0ae
|
@ -185,7 +185,7 @@ osmo_serial_set_custom_baudrate(int fd, int baudrate)
|
|||
unsigned int speed = baudrate;
|
||||
rc = ioctl(fd, IOSSIOSPEED, &speed);
|
||||
if (rc < 0) {
|
||||
dbg.perror("ioctl(IOSSIOSPEED)");
|
||||
dbg_perror("ioctl(IOSSIOSPEED)");
|
||||
return -errno;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue