Skip to content

Commit

Permalink
Merge branch 'hotfix/log'
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Chan committed May 10, 2024
2 parents ff3a020 + 14ae3b3 commit 0b59857
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion skf-rs/src/engine/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl Drop for SkfAppImpl {
}
}
impl AppSecurity for SkfAppImpl {
#[instrument]
#[instrument(skip(old_pin, new_pin))]
fn change_pin(&self, pin_type: u8, old_pin: &str, new_pin: &str) -> crate::Result<()> {
let func = self.symbols.pin_change.as_ref().expect("Symbol not load");
let old_pin = param::as_cstring("old_pin", old_pin)?;
Expand Down
2 changes: 1 addition & 1 deletion skf-rs/src/engine/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ impl AppManager for SkfDeviceImpl {
Ok(list)
}

#[instrument]
#[instrument(skip(attr))]
fn create_app(&self, name: &str, attr: &AppAttr) -> Result<Box<dyn SkfApp>> {
let func = self.symbols.app_create.as_ref().expect("Symbol not load");
let c_name = param::as_cstring("name", name)?;
Expand Down

0 comments on commit 0b59857

Please sign in to comment.