Merge pull request #17 from xTibor/fix_seek_flags

ihdad: Fix seek flags
This commit is contained in:
Jeremy Soller
2017-06-24 17:33:10 -06:00
committed by GitHub
+3 -2
View File
@@ -16,7 +16,8 @@ extern crate syscall;
use syscall::MAP_WRITE;
use syscall::error::{Error, EACCES, EBADF, Result, EINVAL};
use syscall::io::{ Mmio, Io};
use syscall::flag::{SEEK_SET, SEEK_CUR, SEEK_END};
use syscall::io::{Mmio, Io};
use syscall::scheme::SchemeMut;
use spin::Mutex;
@@ -1029,4 +1030,4 @@ impl SchemeMut for IntelHDA {
handles.remove(&_id).ok_or(Error::new(EBADF)).and(Ok(0))
}
}
}