aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index cadfd60..4a93169 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -131,7 +131,7 @@ fn main() -> anyhow::Result<()> {
compile(&arch, cross, &img)?;
println!("Kernel compiled successfully");
- let kernel_path = format!("arch/{}/boot/bzImage", arch);
+ let kernel_path = format!("arch/{}/boot/{}", arch, img);
env::set_current_dir(current_dir)?;