Debug scheme will return correct event id

This commit is contained in:
Jeremy Soller
2018-05-20 12:56:37 -06:00
parent 4ec46ee786
commit 43a163d8d6

View File

@@ -126,7 +126,7 @@ impl Scheme for DebugScheme {
*handles.get(&id).ok_or(Error::new(EBADF))?
};
Ok(0)
Ok(id)
}
fn fpath(&self, id: usize, buf: &mut [u8]) -> Result<usize> {