diff options
Diffstat (limited to 'src/sys/reboot.rs')
-rw-r--r-- | src/sys/reboot.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/reboot.rs b/src/sys/reboot.rs index 5b376824..be5067a9 100644 --- a/src/sys/reboot.rs +++ b/src/sys/reboot.rs @@ -12,6 +12,7 @@ libc_enum! { /// See [`set_cad_enabled()`](fn.set_cad_enabled.html) for /// enabling/disabling Ctrl-Alt-Delete. #[repr(i32)] + #[non_exhaustive] pub enum RebootMode { RB_HALT_SYSTEM, RB_KEXEC, |