From bca3ae435452b22a08eb66b7d3ab98d840a87b94 Mon Sep 17 00:00:00 2001 From: namilsk Date: Fri, 9 Jan 2026 19:13:16 +0300 Subject: Implemetned kernel modules, locales and timezones settings. --- init/src/mounts/rescue.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init/src/mounts/rescue.rs') 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> { ); 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()); } -- cgit v1.2.3