X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fpoll-loop.c;h=9801d7ded6715e298802e78f920ad7e8bc716eb6;hb=5b95ab0edf18e44d6624c8aa98b658df2fbb48f2;hp=4e192f3ae0eaaacd863ce545247cf698de322850;hpb=959ec62e324d88e47930379d3f0d196119595de9;p=openvswitch 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)