ihdad: Fix seek flags

This commit is contained in:
Tibor Nagy
2017-06-25 00:44:25 +02:00
parent 5ef20a47e7
commit d75e540fb7
+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))
}
}
}