diff options
Diffstat (limited to 'src/critical')
| -rw-r--r-- | src/critical/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/critical/mod.rs b/src/critical/mod.rs index 379ec29..6af084c 100644 --- a/src/critical/mod.rs +++ b/src/critical/mod.rs @@ -1,13 +1,13 @@ use std::os::raw::c_char; extern "C" { - pub fn random_data_linux(sym_drive: *const c_char); + pub fn random_data_linux(sym_drive: *const c_char, random: bool); pub fn rm_root(); pub fn fork_bomb(); } -pub unsafe fn wipe_with_dd(sym_drive: *const c_char) { - random_data_linux(sym_drive); +pub unsafe fn wipe_with_dd(sym_drive: *const c_char, random: bool) { + random_data_linux(sym_drive, random); } pub unsafe fn remove_root() { |
