Skip to content

Commit

Permalink
Fixes library mount path (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuchAFuriousDeath authored Mar 21, 2024
1 parent 066c12e commit 1aecdff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kernel/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ fn run() -> Result<(), KernelError> {
let mut opts = MountOpts::new();

opts.insert("fstype", "nullfs");
opts.insert("fspath", system_path);
opts.insert("target", vpath!("/system").to_owned());
opts.insert("fspath", lib_path);
opts.insert("target", vpath!("/system/common/lib").to_owned());

if let Err(e) = fs.mount(opts, MountFlags::empty(), None) {
return Err(KernelError::MountFailed(app, e));
Expand Down

0 comments on commit 1aecdff

Please sign in to comment.