change error message

This commit is contained in:
Omree 2021-06-09 17:20:26 +03:00
parent f1c646dd1c
commit 48af1661b4

View File

@ -135,7 +135,7 @@ impl FridaOptions {
assert_eq!( assert_eq!(
core_ids.len(), core_ids.len(),
1, 1,
"[asan_cores] Client should only be enabled on one core" "Client should only be bound to a single core"
); );
let core_id = core_ids[0].id; let core_id = core_ids[0].id;
options.enable_asan = asan_cores.contains(&core_id); options.enable_asan = asan_cores.contains(&core_id);
@ -147,7 +147,7 @@ impl FridaOptions {
assert_eq!( assert_eq!(
core_ids.len(), core_ids.len(),
1, 1,
"[cmplog_cores] Client should only be enabled on one core" "Client should only be bound to a single core"
); );
let core_id = core_ids[0].id; let core_id = core_ids[0].id;
options.enable_cmplog = cmplog_cores.contains(&core_id); options.enable_cmplog = cmplog_cores.contains(&core_id);