diff options
author | Pierre Pfister <ppfister@cisco.com> | 2017-04-04 15:55:21 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-04-11 09:50:34 +0000 |
commit | ecba903bcfc5046b0d8aee18433ab9fc09c6a68f (patch) | |
tree | 84cafa501d1069bc4f1dc53f1427bb7c326515c6 /src/vlib/elog_samples.c | |
parent | b498eeb6a75fda19e54c712ec176f78f95c7a754 (diff) |
Fix typo in minimal epoll polling time
epoll was supposed to not sleep when timeout
is less than 1ms, but a typo made it not sleep
any time the requested timeout is lower than
1000 seconds (in practice, never...).
This patch replaces "1e3" with "1e-3", which
represents 1ms.
Change-Id: I731851b27a6bf6ab8e41586e017e94b962b09bf3
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
(cherry picked from commit ec06222ae189fe8d84b63410130fff04bf446573)
Diffstat (limited to 'src/vlib/elog_samples.c')
0 files changed, 0 insertions, 0 deletions