autocommit 2022-03-29 15:40:59 CEST
This commit is contained in:
parent
6ebf731aea
commit
9842264fad
39 changed files with 121 additions and 92 deletions
|
|
@ -5,7 +5,7 @@ use uapi::c::c_int;
|
|||
use uapi::{c, Errno};
|
||||
|
||||
static ERRORS: Lazy<&'static [Option<&'static str>]> = Lazy::new(|| {
|
||||
static MSGS: &'static [(c::c_int, &'static str)] = &[
|
||||
static MSGS: &[(c::c_int, &str)] = &[
|
||||
(c::EWOULDBLOCK, "Operation would block"),
|
||||
(c::ENOTSUP, "Not supported"),
|
||||
(c::EHWPOISON, "Memory page has hardware error"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue