diff options
| author | namilsk <namilsk@namilsk.tech> | 2026-01-09 19:13:16 +0300 |
|---|---|---|
| committer | namilsk <namilsk@namilsk.tech> | 2026-01-09 19:13:16 +0300 |
| commit | bca3ae435452b22a08eb66b7d3ab98d840a87b94 (patch) | |
| tree | 5048a0afa1806bc8213f0b4100a91b10f949cdf2 /init/src/mounts/rescue.rs | |
| parent | 3a5c327a546ff1838e4dc32b8b67a056c1b95f3d (diff) | |
Implemetned kernel modules, locales and timezones settings.
Diffstat (limited to 'init/src/mounts/rescue.rs')
| -rw-r--r-- | init/src/mounts/rescue.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/init/src/mounts/rescue.rs b/init/src/mounts/rescue.rs index ad80a84..078984d 100644 --- a/init/src/mounts/rescue.rs +++ b/init/src/mounts/rescue.rs @@ -31,11 +31,10 @@ pub fn mount_system() -> Result<(), Box<dyn std::error::Error>> { ); if ret != 0 { - let errno = errno::errno().0; return Err(format!( "Failed to mount {}: {}", target, - std::io::Error::from_raw_os_error(errno) + std::io::Error::last_os_error() ) .into()); } |
