summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-09-28 10:55:22 +0200
committerSylvain Munaut <tnt@246tNt.com>2011-09-28 10:55:22 +0200
commite40549a0ae920e72173cb2c585aec23414494eb1 (patch)
tree8de6cec5eba09ac53000a3149643d13a4d030643 /src
parent9631184399a45ccae1592fa6940fe7f810eac64e (diff)
core/serial: Fix typo
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src')
-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;