From 0ab68bae611c4cdb05651db83a845cd53e794884 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Thu, 27 Aug 2015 09:40:50 +0200 Subject: [PATCH] comment that -1 means infinite timeout --- sndiod/file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sndiod/file.c b/sndiod/file.c index c457092..b6b9d42 100644 --- a/sndiod/file.c +++ b/sndiod/file.c @@ -383,7 +383,8 @@ file_poll(void) /* * Sleep. Calculate the number off milliseconds poll(2) must * wait before the timo_update() needs to be called. If there're - * no timeouts scheduled, then call poll(2) with -1 timeout. + * no timeouts scheduled, then call poll(2) with infinite + * timeout (i.e -1). */ #ifdef DEBUG clock_gettime(CLOCK_MONOTONIC, &sleepts);