From 2b5ee784cbb533e798b2e7c477dcaea4682686f0 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Fri, 5 Oct 2012 17:59:32 +0200 Subject: [PATCH] backout last --- sndiod/file.c | 2 -- sndiod/siofile.c | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sndiod/file.c b/sndiod/file.c index 62f0352..1d175c4 100644 --- a/sndiod/file.c +++ b/sndiod/file.c @@ -442,12 +442,10 @@ filelist_init(void) it.it_interval.tv_usec = TIMER_USEC; it.it_value.tv_sec = 0; it.it_value.tv_usec = TIMER_USEC; -#if 0 if (setitimer(ITIMER_REAL, &it, NULL) < 0) { perror("setitimer"); exit(1); } -#endif timo_init(); log_sync = 0; } diff --git a/sndiod/siofile.c b/sndiod/siofile.c index e229dc7..2957077 100644 --- a/sndiod/siofile.c +++ b/sndiod/siofile.c @@ -374,9 +374,7 @@ siofile_run(void *arg) #ifdef DEBUG if (!(f->events & POLLIN)) { siofile_log(f); - log_puts(": recording, but POLLIN not set: "); - log_putx(f->events); - log_puts("\n"); + log_puts(": recording, but POLLIN not set\n"); panic(); } if (f->rused < d->round) {