summaryrefslogtreecommitdiff
path: root/Presence/monitortty.c
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2013-06-16 22:28:06 -0400
committerjoe <joe@jerkface.net>2013-06-16 22:28:06 -0400
commitb5770d982d2cb7d95ae400172a8bb1ca923a0de4 (patch)
treec2931f2d63d7ecd9e45d2e5457cc0d633fddeeb3 /Presence/monitortty.c
parent41c757e3e851ba197248df18f144805babc4e1f9 (diff)
removed some debug noise.
Diffstat (limited to 'Presence/monitortty.c')
-rw-r--r--Presence/monitortty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Presence/monitortty.c b/Presence/monitortty.c
index 90e23464..7b5dc82c 100644
--- a/Presence/monitortty.c
+++ b/Presence/monitortty.c
@@ -76,7 +76,7 @@ void vt_wait(int tty_fd) {
76 memset(&vt,'\0',sizeof(vt)); 76 memset(&vt,'\0',sizeof(vt));
77 vt.event = VT_EVENT_SWITCH; 77 vt.event = VT_EVENT_SWITCH;
78 int res; 78 int res;
79 printf("started wait\n"); 79 // printf("started wait\n");
80 res = ioctl (tty_fd, VT_WAITEVENT, &vt); 80 res = ioctl (tty_fd, VT_WAITEVENT, &vt);
81 if (res==-1) { 81 if (res==-1) {
82 printf("vt_wait error fd=%i\n",tty_fd); 82 printf("vt_wait error fd=%i\n",tty_fd);
@@ -84,7 +84,7 @@ void vt_wait(int tty_fd) {
84 // printf("vt_wait: %u - %s\n", errno, errmsg(errno)); 84 // printf("vt_wait: %u - %s\n", errno, errmsg(errno));
85 sleep(1); 85 sleep(1);
86 } 86 }
87 printf("finished wait\n"); 87 // printf("finished wait\n");
88} 88}
89 89
90int8_t get_active(int tty_fd) { 90int8_t get_active(int tty_fd) {