macro_rules! pr_err {
    ($($arg:tt)*) => { ... };
}
Expand description

Prints an error-level message (level 3).

Use this level for error conditions.

Equivalent to the kernel’s pr_err macro.

Mimics the interface of std::print!. See core::fmt and alloc::format! for information about the formatting syntax.

Examples

pr_err!("hello {}\n", "there");
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.