diff options
Diffstat (limited to 'devices/src/virtio/p9.rs')
-rw-r--r-- | devices/src/virtio/p9.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devices/src/virtio/p9.rs b/devices/src/virtio/p9.rs index 2c1faa6..e9bdbb7 100644 --- a/devices/src/virtio/p9.rs +++ b/devices/src/virtio/p9.rs @@ -278,7 +278,8 @@ impl Worker { .and_then(|pc| { pc.add(&self.interrupt_resample_evt, Token::InterruptResample) .and(Ok(pc)) - }).and_then(|pc| pc.add(&kill_evt, Token::Kill).and(Ok(pc))) + }) + .and_then(|pc| pc.add(&kill_evt, Token::Kill).and(Ok(pc))) .map_err(P9Error::CreatePollContext)?; loop { |