Skip to content

Commit

Permalink
ksud: fix excess char pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rsuntk committed Jul 30, 2024
1 parent 7fd2baf commit 6a63799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userspace/ksud/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct Asset;

pub fn ensure_binaries(ignore_if_exist: bool) -> Result<()> {
for file in Asset::iter() {
#[cfg(not(target_arch = "arm")]
#[cfg(not(target_arch = "arm"))]
if file == "ksuinit" || file.ends_with(".ko") {
// don't extract ksuinit and kernel modules
continue;
Expand All @@ -47,7 +47,7 @@ pub fn copy_assets_to_file(name: &str, dst: impl AsRef<Path>) -> Result<()> {
Ok(())
}

#[cfg(not(target_arch = "arm")]
#[cfg(not(target_arch = "arm"))]
pub fn list_supported_kmi() -> Result<Vec<String>> {
let mut list = Vec::new();
for file in Asset::iter() {
Expand Down

0 comments on commit 6a63799

Please sign in to comment.