]> git.saurik.com Git - cycript.git/blobdiff - Mach/Inject.cpp
Remove a couple obsolete rules from the makefile.
[cycript.git] / Mach / Inject.cpp
index 8679e03a332c938e184dfff53b88532423de6ef3..1df9be388b12d5a4012944433579ef9ae05b9acc 100644 (file)
@@ -118,7 +118,7 @@ void InjectLibrary(pid_t pid) {
 
     mach_msg_type_number_t read(count);
     _krncall(thread_get_state(thread, flavor, reinterpret_cast<thread_state_t>(&state), &read));
-    _assert(count == count);
+    _assert(read == count);
 
 #if defined(__arm__)
     state.__r[0] = data;