]> git.saurik.com Git - apple/xnu.git/blobdiff - tests/data_protection.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / tests / data_protection.c
index 7a7e4dc8a8f5fbd45607ef5a1e4e409f6c8a473e..2688bdde440c28511ce2ca67cb24ddf10efc60ed 100644 (file)
@@ -750,8 +750,8 @@ set_passcode(char * new_passcode, char * old_passcode)
        }
 
        char * const keystorectl_args[] = {
-               KEYSTORECTL_PATH,
-               "change-password",
+               KEYBAGDTEST_PATH,
+               "syspass",
                old_passcode,
                new_passcode,
                NULL
@@ -1040,7 +1040,7 @@ apple_key_store(uint32_t command,
                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;
        }