time-util: add and use USEC/NSEC_INFINIY

This commit is contained in:
Kay Sievers
2014-07-29 13:20:20 +02:00
parent cf347234ae
commit 3a43da2832
23 changed files with 79 additions and 76 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ static bool press_any_key(void) {
printf("-- Press any key to proceed --");
fflush(stdout);
read_one_char(stdin, &k, (usec_t) -1, &need_nl);
read_one_char(stdin, &k, USEC_INFINITY, &need_nl);
if (need_nl)
putchar('\n');