summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serial.c b/src/serial.c
index b68fd564..e61edb71 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -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;