X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8d7447c170dd11c91d0a07768f32a2699177fa54..e941cc7de72812f4a8820de88181591ec25d56bd:/Mach/Inject.cpp diff --git a/Mach/Inject.cpp b/Mach/Inject.cpp index 8679e03..1df9be3 100644 --- a/Mach/Inject.cpp +++ b/Mach/Inject.cpp @@ -118,7 +118,7 @@ void InjectLibrary(pid_t pid) { mach_msg_type_number_t read(count); _krncall(thread_get_state(thread, flavor, reinterpret_cast(&state), &read)); - _assert(count == count); + _assert(read == count); #if defined(__arm__) state.__r[0] = data;