diff options
Diffstat (limited to 'src/luma/application/load.rs')
-rw-r--r-- | src/luma/application/load.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/luma/application/load.rs b/src/luma/application/load.rs index 58491d7..bc56922 100644 --- a/src/luma/application/load.rs +++ b/src/luma/application/load.rs @@ -7,18 +7,18 @@ use std::io::Read; impl Application { pub fn load(&mut self) { - eprintln!("loading booatloader \"{}\"", self.bootloader); + eprintln!("loading booatloader \"{}\"", self.configuration.bootloader); // Open bootloader: - let mut bootloader = File::open(self.bootloader.clone()).expect("unable to open bootloader"); + let mut bootloader = File::open(self.configuration.bootloader.clone()).expect("unable to open bootloader"); // Read bootloader: bootloader.read(self.bootloader()).expect("unable to read bootloader"); - eprintln!("loading image \"{}\"", self.image); + eprintln!("loading image \"{}\"", self.configuration.image); // Open image: - let mut image = File::open(self.image.clone()).expect("unable to open image"); + let mut image = File::open(self.configuration.image.clone()).expect("unable to open image"); // Read image: image.read(self.image()).expect("unable to read image"); |