diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..fa8d85ac52 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +Cargo.lock +target diff --git a/src/main.rs b/src/main.rs index de9a8dc4f9..95c5651361 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,7 @@ use rand::Rng; use raw_cpuid::CpuId; -use syscall::{Error, Result, SchemeMut, MODE_CHR}; +use syscall::{Error, Result, SchemeMut, EINVAL, MODE_CHR}; use syscall::data::{Packet, Stat}; //TODO: Use a CSPRNG, allow write of entropy