From 7c2adefaee82dbf2843dc6bf5364c4b664b4b366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 25 Mar 2019 13:56:15 +0100 Subject: Minor cleanups. --- src/termios.scm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/termios.scm.c b/src/termios.scm.c index 939c3574..310bf058 100644 --- a/src/termios.scm.c +++ b/src/termios.scm.c @@ -3,6 +3,8 @@ #include #include +#include "err.h" + static struct termios *oldt, *newt; SCM_DEFINE(termios_lflags_and, "c-lflags-disable!", 2, 0, 0, @@ -13,7 +15,7 @@ SCM_DEFINE(termios_lflags_and, "c-lflags-disable!", 2, 0, 0, int fd = scm_to_int (_fd); int bits = scm_to_int (_bits); - printf("Setting bits [%x]\n", bits); + INFO_F("Setting bits [%x]", bits); tcgetattr(fd, oldt); *newt = *oldt; -- cgit v1.2.3