}
char * const keystorectl_args[] = {
- KEYSTORECTL_PATH,
- "change-password",
+ KEYBAGDTEST_PATH,
+ "syspass",
old_passcode,
new_passcode,
NULL
input_struct_count, outputs, output_count, NULL, NULL
);
if (io_result != kIOReturnSuccess) {
- T_LOG("%s: call to AppleKeyStore method %d failed", __func__);
+ T_LOG("%s: call to AppleKeyStore method %d failed", __func__, command);
goto close;
}