From: Ben Pfaff Date: Fri, 27 May 2011 16:13:50 +0000 (-0700) Subject: poll-loop: Fix typo in comment. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d19cedb28fa32091d149749d326707d8405cbbb6;p=openvswitch poll-loop: Fix typo in comment. Reported-by: Ethan Jackson --- diff --git a/lib/poll-loop.c b/lib/poll-loop.c index 4e192f3a..9801d7de 100644 --- a/lib/poll-loop.c +++ b/lib/poll-loop.c @@ -151,10 +151,10 @@ poll_immediate_wake(const char *where) * arguments have two possible interpretations: * * - If 'pollfd' is nonnull then it should be the "struct pollfd" that caused - * the wakeup. In this case, 'timeout' is ignored. + * the wakeup. 'timeout' is ignored. * - * - If 'pollfd' is nonnull then 'timeout' is the number of milliseconds - * after which the poll loop woke up. + * - If 'pollfd' is NULL then 'timeout' is the number of milliseconds after + * which the poll loop woke up. */ static void log_wakeup(const char *where, const struct pollfd *pollfd, int timeout)