core/serial: Fix typo

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2011-09-28 10:55:22 +02:00
parent 9631184399
commit e40549a0ae
1 changed files with 1 additions and 1 deletions

View File

@ -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;