poll-loop: Fix typo in comment.
authorBen Pfaff <blp@nicira.com>
Fri, 27 May 2011 16:13:50 +0000 (09:13 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 27 May 2011 16:13:50 +0000 (09:13 -0700)
Reported-by: Ethan Jackson <ethan@nicira.com>
lib/poll-loop.c

index 4e192f3..9801d7d 100644 (file)
@@ -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)