From 1622daf8d03a8a54f45fb43b256680fd6e3a1593 Mon Sep 17 00:00:00 2001 From: volker Date: Wed, 18 Nov 2009 17:19:16 +0000 Subject: disabling some driver if no parport available git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1062 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index 10919e4..bff2a96 100644 --- a/event.c +++ b/event.c @@ -126,7 +126,7 @@ int event_process(const struct timespec *timeout) #if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 4) int ready = ppoll(fds, j, timeout, NULL); #else - int ready = poll(fds, j, timeout->tv_sec * 1000000 + timeout->tv_nsec / 1000000); + int ready = poll(fds, j, timeout->tv_sec * 1000 + timeout->tv_nsec / 1000000); #endif if (ready > 0) { -- cgit v1.2.3