aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-03-25 13:56:15 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-03-25 13:56:15 +0100
commit7c2adefaee82dbf2843dc6bf5364c4b664b4b366 (patch)
treee831c289deafdd41758a51dc9092c2e3fb5d1f86 /src
parentFix events being dropped by sorting them. (diff)
downloadcalp-7c2adefaee82dbf2843dc6bf5364c4b664b4b366.tar.gz
calp-7c2adefaee82dbf2843dc6bf5364c4b664b4b366.tar.xz
Minor cleanups.
Diffstat (limited to 'src')
-rw-r--r--src/termios.scm.c4
1 files changed, 3 insertions, 1 deletions
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 <termios.h>
#include <stdio.h>
+#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;